MansMeg / markmyassignment

A R package for automatic marking of R assignments/labs.
Other
5 stars 3 forks source link

Old function in testthat (or markmyassignment?). Some Error in mark_my_assignment and others #80

Closed oscpe436 closed 6 years ago

oscpe436 commented 8 years ago

mark_my_assignment() Mandatory tests: .1 task1: ... task2: ... task2: ....

Failed -----------------------------------------

  1. Error: Mandatory tests (@test-00mandatory-1.R#7) could not find function "use_package" 1: .handleSimpleError(function (e) { e$call <- sys.calls()[(frame + 11):(sys.nframe() - 2)] register_expectation(e, frame + 11, sys.nframe() - 2) signalCondition(e) }, "could not find function \"use_package\"", quote(eval(expr, envir, enclos))) at C:\Users\User\AppData\Local\Temp\Rtmpgp9Pnq/markmyassignment/assignment1/tests/test-00mandatory-1.R:7 2: eval(expr, envir, enclos)

DONE ===========================================

MansMeg commented 8 years ago

Bug can be found in: https://github.com/MansMeg/markmyassignment/blob/master/inst/extdata/example_mandatory.R

Bug is on row 7.

MansMeg commented 6 years ago

Fixed