Closed hadley closed 4 years ago
Bump
Thanks! Tests are not run on cran, so this is not that urgent. On 13 Oct 2015 21:47, "Hadley Wickham" notifications@github.com wrote:
Bump
— Reply to this email directly or view it on GitHub https://github.com/gaborcsardi/pingr/issues/5#issuecomment-147848110.
Hmmm, then they shouldn't be via revdep_check()
either. How are you testing for CRANness?
https://github.com/cran/pingr/blob/master/tests/testthat.R#L4
Isn't this good?
It'd be better to do what skip_on_cran()
does: identical(Sys.getenv("NOT_CRAN"), "true")
(or you could now use skip_on_cran()
directly)
Yeah, identical
is better, but my code should still work I guess....
skip_on_cran
is not the best here, because I want to skip all tests. All of them require the machine to be online, and CRAN sometimes loses the network connection, and then they email me....
This seems to be gone now.
I see