search for: r_cmd_check_stat

Displaying 1 result from an estimated 1 matches for "r_cmd_check_stat".

Did you mean: r_cmd_check_state
2011 Nov 03
1
Call function only when running via R CMD check?
I'd like to be able to change some default settings only in the case when checking a package with 'R CMD check'. More precisely, I'd like to execute a piece of R code before the Rd examples and/or test scripts are evaluated by 'R CMD check'. Is there a mechanism in 'R CMD check' that makes this possible? If not, is there a way to detect that you are running via