exercism/r

Test give incorrect feedback when run outside or RStudio

Opened this issue · 0 comments

I noticed this when I started the R track a few weeks ago but couldn’t find a solution and didn’t want to raise a ticket without offering a solution.

However now that Exercism 3 has launched and you have the ability to work on solutions in the browser the problem is more acute as there is more of a chance people are going to run code outside of RStudio.

When the tests are run from the command line (ie outside of RStudio) the tests give the feedback:

All tests passed for exercise: xxxx

Regardless of whether the tests pass or not

See screenshot

PNG image