Description Usage Arguments Value Note Examples
View source: R/safe_rcmdcheck.R
deal with errors at build stage when attempting to check
1 | safe_rcmdcheck(x, error = "never", ...)
|
x |
character(1) path to source package folder for a package (not a tarball) |
error |
character() passed to rcmdcheck::rcmdcheck |
... |
passed to rcmdcheck::rcmdcheck, should not include 'error' |
a list, see note.
If rcmdcheck succeeds without returning try-error
, this function returns
the result of rcmdcheck. Otherwise it build a list with elements 'package',
'errors', 'warnings', 'notes', 'install_out', 'description' and 'version',
in which the 'errors' component includes data from capture.output
on
rcmdcheck attempt.
1 2 | chk = safe_rcmdcheck(system.file("demo_srcs/parody", package="BiocQE"))
str(chk)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.