Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't save unit test reports if run via R CMD check
This was a request from CRAN. The CRAN Repository Policy states: Packages should not write in the users' home filespace, nor anywhere else on the file system apart from the R session's temporary directory (or during installation in the location pointed to by TMPDIR: and such usage should be cleaned up). So check the environment variable set by the Makefile, and only write reports to file if it specifies that the tests are not being run under R CMD check. Fixes #56.
- Loading branch information
1 parent
ba6168b
commit 9161048
Showing
1 changed file
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters