ci | R Documentation |
Run continuous integration tests locally.
ci(
renv = TRUE,
missing = TRUE,
pkgdown = TRUE,
styler = NULL,
lintr = TRUE,
document = TRUE,
normalize = TRUE,
extra = TRUE,
urls = TRUE,
rcmdcheck = TRUE
)
renv |
check |
missing |
run |
pkgdown |
check |
styler |
style all files using |
lintr |
lint all files using |
document |
run |
normalize |
run |
extra |
run |
urls |
validate URLs with |
rcmdcheck |
run |
If renv::status(dev = TRUE)
is not synchronized, ci()
will stop.
If missing_deps()
returns any missing dependencies, ci()
will stop.
pkgdown::check_pkgdown()
will halt ci()
with an error if _pkgdown.yml
is invalid.
If styler
is set to NULL
(the default), style_all()
will be run only if there are no
uncommitted changes to git. Setting the value to TRUE
or FALSE
overrides this check.
If lint_all()
finds any lints, ci()
will stop and open the RStudio markers pane.
Output from missing
, extra
, and urls
is printed as a tibble for
improved readability in the console.
## Not run:
ci()
ci(styler = TRUE)
ci(styler = FALSE, rcmdcheck = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.