Skip to contents

[Stable]

This function updates documentation, Rmarkdown files and raw data; check, test, build and reinstall the running package locally.

Usage

update_package(
  .update_data = FALSE,
  .update_readme = FALSE,
  .update_rmd = FALSE,
  .update_site = FALSE,
  .check = FALSE,
  .unit_test = FALSE
)

Arguments

.update_data

Update raw data

.update_readme

Update the README file

.update_rmd

Build Rmarkdown files inside the package

.update_site

Build the pkgdown website

.check

Check the package

.unit_test

Execute testthat tests