rpac_travis | R Documentation |
rpac_travis() creates a template for Linux and Mac OS tests with suggestions for settings for covr and vdiffr testing.
rpac_travis(path = ".", append = TRUE)
path |
Pass a path as string. Default is current working directory ('.'). |
append |
Append text to an existing file. Default is TRUE. |
Adds blurbs for travis-ci and codecov shields. Packages need to be added manually to .travis.yml and DESCRIPTION later on. Also see the template from usethis::use_travis()
Antonio J Berlanga-Taylor <https://github.com/AntonioJBT/Rpacker>
use_travis
.
## Not run:
rpac_travis()
# Copy packages manually as functions and dependencies get added:
pkgs <- c('data.table',
'ggplot2',
'cowplot',
'dplyr'
)
for (i in pkgs) {
i <- paste0('- ', i)
cat(i, '\n')
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.