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

Update quiz handling #99

Merged
merged 2 commits into from
Feb 17, 2022
Merged

Update quiz handling #99

merged 2 commits into from
Feb 17, 2022

Conversation

cansavvy
Copy link
Contributor

Purpose/implementation Section

What changes are being implemented in this Pull Request?

Originally, I had set this up so you could say quiz_dir = NULL and the quiz parts would be skipped, but there was one part that was missing that handling.

@cansavvy
Copy link
Contributor Author

I tested this locally on OTTR_Template files using:

Rscript -e "ottrpal::bookdown_to_embed_leanpub(
            render = FALSE, \
            chapt_img_key = 'resources/chapt_screen_images/chapter_urls.tsv', \
            make_book_txt = TRUE, \
            quiz_dir = NULL)"

and it worked!

@cansavvy cansavvy merged commit f0784e1 into main Feb 17, 2022
@cansavvy cansavvy deleted the cansavvy/no-quiz branch February 17, 2022 14:52
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.

1 participant