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

Description Usage Arguments

View source: R/check_chunk.r

Description

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

Usage

1
2
3
4
5
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


skranz/RTutor2 documentation built on Oct. 7, 2017, 2:52 p.m.