avoid checking examples for R package building using devtools
问题 I am using devtools to build my R package, and use the function check to check the package (with a long list of outputs on screen). However, because my package includes examples, and some of the examples are time-consuming, I am wondering how can I suppress checking examples when checking the package in devtools . The check function itself seems to not have such option. Thanks! 回答1: You need to set the args argument appropriately with command line arguments to R CMD check . The latter has -