release(pkg = ".", check = TRUE, args = NULL)
as.package
for more informationTRUE
, run checking, otherwise omit it. This
is useful if you've just checked your package and you're ready to
release it.R CMD build
.R CMD check
You can also add arbitrary extra questions by defining an (un-exported)
function called release_questions()
that returns a character vector
of additional questions to ask.
You also need to read the CRAN repository policy at
release
tries to automate as
many of polices as possible, but it's impossible to be completely
comprehensive, and they do change in between releases of devtools.