opts_stats102A: set/get the stats102A options

View source: R/grade_Rscripts.R

opts_stats102AR Documentation

set/get the stats102A options

Description

Set or get the stats102A grading options

Usage

 opts_stats102A(..., reset = FALSE)
 

Arguments

reset

A logical Parameter on whether to reset the stats102A options

...

The options to be set. Look at the details below

Details

time_limit_knit:

A numeric value. Default is 4. The maximum allowable time to knit a file beyond which an error is produced

time_limit_compute:

A numeric value. Default is 0.5. The maximum allowable time to a given computation

max_space:

The space used to allign the text printed on the screen while grading the scripts

install_missing_packages:

A logical value to determine whether to install the missing packages used in an Rmd file and then knit it. Default is TRUE. if FALSE, the packages used in aRMD, if not already installed will not be installed and thus knitting will be unsuccessful

retain_installed_packages:

A logical value whether to retain any newly installed packages while knitting. The default is TRUE. will only be considered if install_missing_packages is set to TRUE

Value

When called as a get, it returns the list of all the options. When setting, no return value.

Examples

opts_stats102A()
opts_stats102A(time_limit_knit = 10)
opts_stats102A()
opts_stats102A(reset = TRUE)
opts_stats102A()

oonyambu/stats_102A documentation built on Jan. 23, 2025, 4:03 a.m.