Skip to contents

CI jobs functions

These functions correspond to full process for each CI jobs

checkPackage()
Check the package
generateDocWebsite()
Doc website
runLintr()
Run lintr
runTests()
Run the tests of the package
testsCoverage()
Coverage of the package
updatePackages()
Updates installed R packages

Package installation

Custom functions around package installation

installDepsWithErrManagement()
devtools::install_dev_deps with error management
installDepsWithErrManagementCi()
devtools::install_dev_deps with error management
installPackageIfNeeded()
Install a package only if needed

Tools

Other useful functions

setOptionsForCi()
Set options for R CI

Internal

Functions used internally to this package

checkPackageIsInstalledAndLoadable()
Check package installed
installDepsWithErrCatching()
devtools::install_dev_deps with error catching
installDepsWithSink()
devtools::install_dev_deps with error and warning catching and all outputs messages grabbed
installDepsWithWarnCatching()
devtools::install_dev_deps with error and warning catching