shinipsum
shinipsum copied to clipboard
Use _R_CHECK_USE_CODETOOLS_=false
globals.R
feels weird to me because it feels like you're torturing perfectly ok code just to fit in with R CMD check. Instead, why not tweak R CMD check to be more suited to the needs of a shinyApp by setting the _R_CHECK_USE_CODETOOLS_
env var to suppress an unhelpful check.
(You can see a complete list of env vars at https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools; it'd be interesting to think about which ones it generally makes sense to suppress for app-packages)
Transferring this to {shinipsum}