compile_assignment: Compile assignment report

View source: R/process_rmd.R

compile_assignmentR Documentation

Compile assignment report

Description

Safely compile assignment report from submitted RMarkdown script

Usage

compile_assignment(
  subfile,
  quiet = FALSE,
  blacklist = TRUE,
  env = parent.frame(),
  knit_root_dir = NULL,
  fix_filename = TRUE
)

Arguments

subfile

path to submission RMarkdown file

quiet

whether to run quietly (suppress messages)

blacklist

comment out lines of code containing blacklisted functions

env

environment in which to compile

knit_root_dir

root directory for knitting (see rmarkdown::render)

fix_filename

replace any spaces or brackets in the filename with underscores before rendering

Details

runs a safe version of rmarkdown::render on the submision file


dalejbarr/assessr documentation built on Jan. 25, 2024, 10:47 p.m.