From 4c272a458b2674a3c0f13d9e74062b9bd6f0f48a Mon Sep 17 00:00:00 2001 From: jsta Date: Sun, 3 Oct 2021 20:16:51 -0600 Subject: [PATCH] prep for release --- .Rbuildignore | 1 + .github/workflows/update-tic.yml | 53 -------------------------------- tic.R | 8 ----- 3 files changed, 1 insertion(+), 61 deletions(-) delete mode 100644 .github/workflows/update-tic.yml delete mode 100644 tic.R diff --git a/.Rbuildignore b/.Rbuildignore index d0e0fae..dd3afd7 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -12,3 +12,4 @@ vignettes/wptools.Rmd test.csv Makefile ^CRAN-RELEASE$ +.github diff --git a/.github/workflows/update-tic.yml b/.github/workflows/update-tic.yml deleted file mode 100644 index 4b6fe50..0000000 --- a/.github/workflows/update-tic.yml +++ /dev/null @@ -1,53 +0,0 @@ -on: - workflow_dispatch: - schedule: - # * is a special character in YAML so you have to quote this string - - cron: "0 4 1 * *" - -name: Update tic - -jobs: - update-tic: - runs-on: ${{ matrix.config.os }} - - name: ${{ matrix.config.os }} (${{ matrix.config.r }}) - - strategy: - fail-fast: false - matrix: - config: - - { os: ubuntu-latest, r: "release" } - - env: - # use GITHUB_TOKEN from GitHub to workaround rate limits in {remotes} - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - uses: actions/checkout@v2 - with: - persist-credentials: false - - - uses: r-lib/actions/setup-r@master - with: - r-version: ${{ matrix.config.r }} - Ncpus: 4 - - - name: "[Stage] Dependencies" - run: | - sudo apt install libcurl4-openssl-dev libsodium-dev libharfbuzz-dev libfribidi-dev libgit2-dev - Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'source')" - Rscript -e "remotes::install_github('ropensci/tic', dependencies = TRUE)" - - - name: "[Stage] Update YAMLs" - run: | - Rscript -e "tic::update_yml()" - - - name: "[Stage] Create Pull Request" - uses: peter-evans/create-pull-request@v3 - with: - author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - token: ${{ secrets.TIC_UPDATE }} - title: "Update tic templates [ci-skip]" - commit-message: "update tic templates" - body: "{tic} templates can be updated :rocket: :robot:" - branch: update-tic diff --git a/tic.R b/tic.R deleted file mode 100644 index 492701d..0000000 --- a/tic.R +++ /dev/null @@ -1,8 +0,0 @@ -# installs dependencies, runs R CMD check, runs covr::codecov() -do_package_checks() - -if (ci_on_ghactions() && 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() -}