rstudio / gradethis

Tools for teachers to use with learnr
https://pkgs.rstudio.com/gradethis/
Other
161 stars 41 forks source link

insert_exercise_grade_code not found #120

Closed dominicwhite closed 3 years ago

dominicwhite commented 4 years ago

When I try to run "Insert exercise: grade result/conditions" from the Addins menu in RStudio, I get a pop-up dialog with this error:

no function 'insert_exercise_grade_result_conditions' found in package 'gradethis'

A quick search of the codebase on GitHub suggests that the necessary function is missing.

("Insert exercise: grade code" works just fine, however)

gadenbuie commented 3 years ago

Thanks for letting us know! We're going to deprecate the addins (#196) since they don't seem to be a good fit for this package. You can accomplish the same task with snippets. Here are a few examples of learnr snippets that I use.