diff --git a/.Rbuildignore b/.Rbuildignore index 67530e3..fee661b 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -3,3 +3,4 @@ ^\.travis\.yml$ LICENSE\.md ^appveyor\.yml$ +^tic\.R$ diff --git a/.gitignore b/.gitignore index 2d9d2d5..7bb24e2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .Ruserdata .DS_Store ._* +docs/ diff --git a/tic.R b/tic.R new file mode 100644 index 0000000..46ec120 --- /dev/null +++ b/tic.R @@ -0,0 +1,8 @@ +# installs dependencies, runs R CMD check, runs covr::codecov() +do_package_checks() + +if (ci_on_travis() && ci_has_env("BUILD_PKGDOWN")) { + # creates pkgdown site and pushes to gh-pages branch + # only for the runner with the "BUILD_PKGDOWN" env var set + do_pkgdown() +}