You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few options to handle common usage of data files in learnr exercises, such as those described in #99
Make the data/ directory special and copy it into the exercise temp dir
Provide a helper function that knows the absolute path of the data/ dir that can be used in the setup chunk
Provide a chunk option, e.g. exercise.files, that will copy a vector of relative (to tutorial.Rmd) file paths into the exercise temp dir
The problem with all of the above is that it would be very hard to ensure that external evaluation will work correctly without serializing and sending the files with each submission.
The text was updated successfully, but these errors were encountered:
A few options to handle common usage of data files in learnr exercises, such as those described in #99
data/
directory special and copy it into the exercise temp dirdata/
dir that can be used in the setup chunkexercise.files
, that will copy a vector of relative (totutorial.Rmd
) file paths into the exercise temp dirThe problem with all of the above is that it would be very hard to ensure that external evaluation will work correctly without serializing and sending the files with each submission.
The text was updated successfully, but these errors were encountered: