When you invoke
check with RStudio, either with the Build pane's "Check" button, or the Cmd + Shift + E keyboard shortcut, it runs the following devtools function:
devtools::check(document = FALSE)
document = FALSE? What advantages does this confer, and is it possible to change it to
document = TRUE (as is the default)?