From 5e02f43b452b01b3fdd6a4e0647138610456a575 Mon Sep 17 00:00:00 2001 From: Serdar Date: Fri, 26 Mar 2021 23:40:30 +0300 Subject: [PATCH] update --- .github/workflows/check-release.yaml | 17 ++++++------ .github/workflows/check-standard.yaml | 17 ++++++------ .github/workflows/r.yml | 37 --------------------------- 3 files changed, 18 insertions(+), 53 deletions(-) delete mode 100644 .github/workflows/r.yml diff --git a/.github/workflows/check-release.yaml b/.github/workflows/check-release.yaml index e7ad052..de457a4 100644 --- a/.github/workflows/check-release.yaml +++ b/.github/workflows/check-release.yaml @@ -1,14 +1,15 @@ # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: - push: - branches: - - main - - master - pull_request: - branches: - - main - - master + workflow_dispatch: + # push: + # branches: + # - main + # - master + # pull_request: + # branches: + # - main + # - master name: R-CMD-check diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index fb7b370..536d96f 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -1,14 +1,15 @@ # For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. # https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions on: - push: - branches: - - main - - master - pull_request: - branches: - - main - - master + workflow_dispatch: + # push: + # branches: + # - main + # - master + # pull_request: + # branches: + # - main + # - master name: R-CMD-check diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml deleted file mode 100644 index cad232b..0000000 --- a/.github/workflows/r.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# -# See https://github.com/r-lib/actions/tree/master/examples#readme for -# additional example workflows available for the R community. - -name: R - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: macOS-latest - strategy: - matrix: - r-version: [3.5, 3.6] - - steps: - - uses: actions/checkout@v2 - - name: Set up R ${{ matrix.r-version }} - uses: r-lib/actions/setup-r@ffe45a39586f073cc2e9af79c4ba563b657dc6e3 - with: - r-version: ${{ matrix.r-version }} - - name: Install dependencies - run: | - install.packages(c("remotes", "rcmdcheck")) - remotes::install_deps(dependencies = TRUE) - shell: Rscript {0} - - name: Check - run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") - shell: Rscript {0}