All functions

add.failure()

Used inside tests: adds a failure to an exercise

add.success()

Used inside tests: adds a sucess message

add.warning()

Used inside tests: adds a warning

auto.hint.else()

This is just a place holder in a hint block

auto.hint()

This is just a place holder in a hint block

awards()

Show all your awards

check.assign()

Checks an assignment to a variable

check.assign.with.multiple.sol()

Checks an assignment to a variable with up to 5 possibly correct solutions

check.call()

Checks whether the user makes a particular function call in his code or call a particular R statement

check.col()

Test: Compare the column col of the matrix or data.frame df with either the values from the given solutions or with the result of an expression that is evaluated in the students solution

check.expr()

Test: Compare the expression check.expr evaluated in the student's environment with the solution correct.expr

check.file.exists()

Check whether a given file exists

check.function()

Checks a function written by the student

check.problem.set()

Checks a student problem set

check.regression()

Check whether an object from a call to lm, glm or some other regression function is correct

check.variable()

Test: Check whether a variable is equal to a specified expression

create.ps()

Generate a problem set from a solution file

display()

Displays the given text

get.ps()

Get the current problem set

hint.else.active()

Get or set whether hint.else or auto.hint.else would be triggered.

hint.else()

Show a hint only if no hint.stud.call or hint.stud.assign was triggered.

hint.for.assign()

Default hint for an assignment

hint.for.call()

Default hint for a call

hint.for.compute()

Default hint for a compute block

hint.for.function()

Default hint for a function

hint()

Shows a hint for the current problem.

hint.stud.assign()

Show the hint if the student made the specified wrong assignment

hint.stud.call()

Show the hint if the student made the specified wrong call

hint.stud.fun()

Show the hint if the student calls a specific function

holds.true()

To be used in a test block

make.hint.report()

Helper function when developing problem sets

make.submission()

Grade your problem set and make submission file

name.rmd.chunks()

Set default names for the chunks of problem set rmd files

read.yaml()

Reads a yaml file and returns as a list

rtutor.app.skel()

Generate a skeleton for a shinyapps.io app of a problem set

rtutor.package.skel()

Generate a package skeleton for a shiny based RTutor problem set that shall be deployed as a package

rtutor.skel.show.opts.string()

Intermediary Function helping to build the ps.show() Options string

run.ps()

Run a problem set from a package in the browser

sc()

Like paste0 but returns an empty vector if some string is empty

show.ps()

Run a shiny based problem set in the browser

stats()

Shows your progress

test.H0()

Helper function for custom test blocks. Check whether a certain null hypothesis is not significantly rejected

test.H0.rejected()

Can be used in a custom test block. Checks whether a certain H0 can be significantly rejected

true()

A robust implementation of isTRUE

with(<random.seed>)

Calls a function with a specified random.seed