assess | R Documentation |
Assess a submission
assess(
filename,
sub_id = filename,
key,
use_sub_env = TRUE,
workdir = NULL,
seed = NULL,
preseed = NULL,
task_varnames = NULL,
verbose = FALSE
)
filename |
name of submission file |
sub_id |
unique submission identifier |
key |
key table (see |
use_sub_env |
whether each submission code chunk is to be run within the submission environment (to allow for dependencies between chunks) or whether to be run in the solution environment of the previous chunk (to allow recovery from errors). In the former case, all but the first of the 'key$start_env' environments will be ignored. |
workdir |
the working directory in which to evaluate the code (deprecated; leave NULL). |
seed |
starting seed for random number generation (or NULL to not set the seed) |
preseed |
A named list whose names are the task names and whose elements are the RNG seeds to set prior to the task. |
task_varnames |
A named list of task variable names, where the names are are some or all of the task names and the elements are named character vectors of variables for the corresponding task. |
verbose |
Whether to report progress assessing individual tasks within the submission. |
Task variables are passed to the task_varnames
argument to assess_task
, and appear in the submission/assessment environment as the variable ._av
. The submission code will be evaluated with the working directory set to the subfolder containing the RMarkdown script.
A table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.