On 08/02/2015 12:16 PM, Måns Magnusson wrote:
> Hi!
>
> The problem is that the test environment inherits from the global
> environment.
> See https://github.com/hadley/testthat/blob/master/R/test-files.r
>
> The students labs are simply an R script file. Say that they have an
> assignment to cal
Hi!
The problem is that the test environment inherits from the global environment.
See https://github.com/hadley/testthat/blob/master/R/test-files.r
The students labs are simply an R script file. Say that they have an assignment
to calculate sqrt(2) and store it in variable a. In the same sessi
On 08/02/2015 8:22 AM, Måns Magnusson wrote:
> Hi!
>
> Im currently developing an R package to automatically give students
> feedback on programming assignments in R. I use the testthat package as an
> engine for the unit testing and do a wrapper to make the automatic marking
> easy for the studen
Hi!
Im currently developing an R package to automatically give students
feedback on programming assignments in R. I use the testthat package as an
engine for the unit testing and do a wrapper to make the automatic marking
easy for the students.
One function (called mark_my_file() ) will mark the