Rkoans
Rkoans copied to clipboard
only the first koan runs
Is this part of the 'enlightenment'? Only the first koan runs and even when I get all the intentional errors fixed, this one doesn't continue.
Error in !karma$failed : invalid argument type
Just wondering if I should continue to wade through the koan running code.
after karma is calculated, the code checks for !karma$failed. This may work in some instances, but in my case, RStudio/RKoans was unattached to karma, the testthat_results object.
substituting as.data.frame(karma)$failed == 0 for !karma$failed got rid of the error for me.