Browse code

Changed GHA to standard check

Joshua D. Campbell authored on 20/09/2021 22:45:46
Showing 2 changed files

1 1
similarity index 64%
2 2
rename from .github/workflows/R-CMD-check.yaml
3 3
rename to .github/workflows/check-standard.yaml
... ...
@@ -1,9 +1,5 @@
1 1
 # Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2 2
 # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3
-#
4
-# NOTE: This workflow is overkill for most R packages and
5
-# check-standard.yaml is likely a better choice.
6
-# usethis::use_github_action("check-standard") will install it.
7 3
 on:
8 4
   push:
9 5
     branches: [devel, master]
... ...
@@ -22,9 +18,9 @@ jobs:
22 18
       fail-fast: false
23 19
       matrix:
24 20
         config:
25
-#          - {os: macOS-latest,   r: 'release'}
26
-#          - {os: windows-latest, r: 'release'}
27
-          - {os: ubuntu-latest, r: 'release'}
21
+          - {os: macOS-latest,   r: 'release'}
22
+          - {os: windows-latest, r: 'release'}
23
+          - {os: ubuntu-latest,   r: 'release'}
28 24
 
29 25
     env:
30 26
       GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
... ...
@@ -34,30 +30,19 @@ jobs:
34 30
       - uses: actions/checkout@v2
35 31
 
36 32
       - uses: r-lib/actions/setup-pandoc@v1
33
+      - uses: r-lib/actions/setup-tinytex@v1
37 34
 
38 35
       - uses: r-lib/actions/setup-r@v1
39 36
         with:
40 37
           r-version: ${{ matrix.config.r }}
41 38
           http-user-agent: ${{ matrix.config.http-user-agent }}
42
-          use-public-rspm: false
43
-
44
-#      - name: Install XQuartz on macOS
45
-#        if: runner.os == 'macOS'
46
-#        run: brew install xquartz --cask
47
-
48
-      - uses: r-lib/actions/setup-tinytex@v1
39
+          use-public-rspm: true
49 40
 
50 41
       - uses: r-lib/actions/setup-r-dependencies@v1
51 42
         with:
52 43
           extra-packages: rcmdcheck
53 44
 
54
-      - name: Check
55
-        env:
56
-          _R_CHECK_CRAN_INCOMING_: false
57
-        run: |
58
-          options(crayon.enabled = TRUE)
59
-          rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
60
-        shell: Rscript {0}
45
+      - uses: r-lib/actions/check-r-package@v1
61 46
 
62 47
       - name: Show testthat output
63 48
         if: always()
... ...
@@ -1,3 +1,6 @@
1
+* Fixed bug in checking background matrix with decontX
2
+* Switched to using Github Actions for Continuous Integration
3
+
1 4
 # celda 1.9.2
2 5
 
3 6
 * Added a `NEWS.md` file to track changes to the package.