Prepares a repo for building and deploying supported by tic.
use_tic(quiet = FALSE)
[flag]
Less verbose output? Default: FALSE
.
This function requires the travis and usethis packages.
The project path is retrieved with usethis::proj_get()
.
The preparation consists of the following steps:
If necessary, create a GitHub repository via usethis::use_github()
Enable Travis via travis::travis_enable()
Create a default .travis.yml
file
(overwrite after confirmation in interactive mode only)
Create a default appveyor.yml
file
(depending on repo type, overwrite after confirmation
in interactive mode only)
Create a default tic.R
file depending on the repo type
(package, website, bookdown, ...)
Enable deployment (if necessary, depending on repo type)
via travis::use_travis_deploy()
Create a GitHub PAT and install it on Travis CI
via travis::travis_set_pat()
This function is aimed at supporting the most common use cases.
Users who require more control are advised to review
the source code of use_tic()
and manually call the individual functions, some of which aren't exported.