Generates .rps file, and .rmd files for empty ps , sample solution and output solution
create.ps(sol.file, ps.name = NULL, user.name = "ENTER A USER NAME HERE",
sol.user.name = "Jane Doe", dir = getwd(), header = "", footer = "",
libs = NULL, stop.when.finished = FALSE, extra.code.file = NULL,
var.txt.file = NULL, rps.has.sol = TRUE, fragment.only = TRUE,
add.enter.code.here = FALSE, add.shiny = TRUE, addons = NULL,
whitelist.report = FALSE, wl = rtutor.default.whitelist(),
use.memoise = FALSE, memoise.funs = rtutor.default.memoise.funs(),
precomp = FALSE, preknit = FALSE, force.noeval = FALSE,
html.data.frame = TRUE, table.max.rows = 25, round.digits = 8,
signif.digits = 8, knit.print.opts = make.knit.print.opts(html.data.frame
= html.data.frame, table.max.rows = table.max.rows, round.digits =
round.digits, signif.digits = signif.digits), e.points = 1,
min.chunk.points = 0, chunk.points = 0)
file name of the _sol.rmd file that specifies the problem set
the name of the problem set
can pick a default user.name (will typically not be set)
the user.name set in the sample solution
the directory in which all files are found and wil be saved to
character vector with names of libraries that will be used by the problem set
the name of an r file that contains own functions that will be accessible in the problme set
name of the file that contains variable descriptions (see thee vignette for an explanation of the file format)
shall the sample solution be stored in the .rps file. Set this option to FALSE if you use problem sets in courses and don't want to assess students the sample solution easily
shall functions like read.csv be memoised? Data sets then only have to be loaded once. This can make problem sets run faster. Debugging may be more complicated, however.
character vector of function names that will be memoised when use.memoise = TRUE. By default a list of functions that load data from a file.
shall chunk environments be computed from sample solution when problem set is generated? Default = FALSE
shall sample solution of chunks be knitted when problem set is generated. Default = FALSE
shall problem set only be shown in noeval mode? (Used as a security against accidentially forgetting to set noeval=TRUE in show.ps, when showing the problem set in a web app.)
how many points does the user get per required expression in a chunk (expressions in a task do not count). Default=1
minimal points for checking a chunk even if no none-task expression has to be entered. By default=0.5. I feel there may be a higher motivation to continue a problem set if there are may be some free point chunks farther below. Also it feels nice to get points, even if it is just for pressing the check button.
you may also specify fixed points given for solving a chunk that will be added to the points per expression. Default=0