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

Fail gracefully if an episode does not have questions, objectives, or keypoints, #79

Closed
zkamvar opened this issue Feb 12, 2021 · 0 comments · Fixed by #88
Closed

Fail gracefully if an episode does not have questions, objectives, or keypoints, #79

zkamvar opened this issue Feb 12, 2021 · 0 comments · Fixed by #88
Labels
bug Something isn't working

Comments

@zkamvar
Copy link
Contributor

zkamvar commented Feb 12, 2021

At the moment, if an episode is missing questions, objectives, or keypoints blocks (which is common for the "break" episodes), sandpaper currently fails while creating the syllabus in the index:

> sandpaper::build_lesson()                                                                     
-- Initialising site ---------------------------------------------------------------------
── Scanning episodes ───────────────────────────────────────────────────────────────────────────
── Creating Schedule ───────────────────────────────────────────────────────────────────────────
Error in get_divs(self$label_divs()$body, type)[[1]] : 
  subscript out of bounds
@zkamvar zkamvar added the bug Something isn't working label Feb 12, 2021
@zkamvar zkamvar added this to the alpha phase milestone Feb 12, 2021
zkamvar added a commit that referenced this issue Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant