Learn R Programming

RtutoR (version 2018.06.08)

check.chunk: Check the student's solution of an exercise contained in stud.file

Description

Check the student's solution of an exercise contained in stud.file

Usage

check.chunk(chunk.ind, ps = get.ps(), verbose = FALSE,
  stud.code = ps$cdt$stud.code[[chunk.ind]],
  stud.env = make.chunk.stud.env(chunk.ind, ps), expect.change = FALSE,
  store.output = TRUE, noeval = isTRUE(ps$noeval),
  precomp = isTRUE(ps$precomp))

Arguments

stud.code

The code of the student's solution as a string (or vector of strings)

ex.name

The name of the exercise