Renders the specified file, and collates run time, static and correctness checks.
render_one(
rmd_name,
out_dir,
knit_root_dir,
log_name,
soln_stuff,
max_time_per_run = 120,
permission_to_install = FALSE
)A data frame with one row for each file in the input directory.
The path to the file to be rendered and checked.
The directory to store all the html output, md output, and figures.
The working directory while knitting the file.
A character string, denoting the log file name. It defaults to "render_one.log". If this file is already present in the directory, this function will append to it.
This is a list, with components env, test_fname, and
tt_list. This object is the output of populate_soln_env. Set
this to be NA if you wish to skip correctness checks, and only do rendering.
The maximum time to wait before aborting the rendering of a particular file.
If TRUE, then the function will try to install any packages needed. By default, this is FALSE.
The log file contains a record of the libraries used by the student, and if any new libraries needed to be installed. The status will be one of SUCCESS, FAIL or UNKNOWN.
populate_soln_env, check_correctness