compile_key | R Documentation |
Compile the assessment key, creating starting and solution environments to use in assessment, as well as output to use in feedback reports.
compile_key(
s_file,
a_file,
overwrite = FALSE,
workdir = NULL,
save_fig = TRUE,
preseed = NULL
)
s_file |
name of Rmd solution file |
a_file |
name of Rmd file with assessment code |
overwrite |
overwrite |
workdir |
working directory |
preseed |
Named list of seeds to be passed to |
savefig |
save any files created in solution subdirectory? |
Sets up environments for running submission code and
assessment code. Also creates output/plots when appropriate and
stores them in the solution
subdirectory in the current
working directory.
a list containing the starting environments for each task
tangle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.