New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use deep cloning of reporters in auto_test() and auto_test_package() #456

Closed
wants to merge 5 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@krlmlr
Member

krlmlr commented Apr 16, 2016

Fixes #441. CC @nealrichardson.

Also uses withr::with_envvar() instead of devtools::with_envvar() to avoid warning.

Testing auto_test() and auto_test_package() is tricky, but not impossible. An external R script that runs for a certain time can be started using a pattern like this:

system("Rscript -e 'Sys.sleep(Inf)' & sleep 1")

The output of that script could be then analyzed by the test.

NEWS entry:

- `auto_test()` and `auto_test_package()` show only the results of the current test run and not of previously failed runs (#456, @krlmlr).

Kirill Müller added some commits Apr 16, 2016

@hadley

This comment has been minimized.

Member

hadley commented Apr 18, 2016

Merged manually

@hadley hadley closed this Apr 18, 2016

@krlmlr krlmlr deleted the krlmlr:feature/441-deep-clone-reporter branch May 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment