Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy over cow function to ottrpal #154

Merged
merged 2 commits into from
Jul 9, 2024
Merged

copy over cow function to ottrpal #154

merged 2 commits into from
Jul 9, 2024

Conversation

kweav
Copy link
Contributor

@kweav kweav commented Jul 9, 2024

⚠️ this is a stacked PR based on #153 ⚠️

As mentioned in code review for PR #153 and various issues (#137 and jhudsl/cow#27) -- Tried to copy over the cow::get_pages_url() function so that it's usable without needing to import cow.

I used wget to get the raw file for the get_pages_url() function from the cow repo and used devtools::document() after that. Removed references to cow within the make_screenshots() function.

@kweav kweav requested a review from cansavvy July 9, 2024 18:03
@@ -23,6 +23,7 @@ export(get_gs_pptx)
export(get_image_from_slide)
export(get_image_link_from_slide)
export(get_object_id_notes)
export(get_pages_url)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to also add an @export to the make_screenshots() function?

#'
#' usethis::create_github_token()
#'
#' get_chapters("jhudsl/Documentation_and_Usability")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this example need updated?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that'd be good

Copy link
Contributor

@cansavvy cansavvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Maybe a minor update in the docs but otherwise it can be merged!

#'
#' usethis::create_github_token()
#'
#' get_chapters("jhudsl/Documentation_and_Usability")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that'd be good

@kweav kweav merged commit 0a38e72 into ki/refactor Jul 9, 2024
@kweav kweav deleted the ki/refactor-cowfn branch July 9, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants