Skip to content

Commit 99167ce

Browse files
ASA-151: Debug R-check-release.yml
1 parent 4a15a74 commit 99167ce

File tree

17 files changed

+8
-14
lines changed

17 files changed

+8
-14
lines changed

.github/workflows/R-check-release.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,14 @@ jobs:
1313
- name: Install R
1414
uses: r-lib/actions/setup-r@v1
1515

16-
- name: Print wd
16+
- name: Install dependencies
1717
run: |
18-
print(getwd())
19-
print(list.files())
18+
install.packages(c("remotes", "rcmdcheck"))
19+
remotes::install_deps(pkgdir = "./R-package", dependencies = TRUE)
2020
shell: Rscript {0}
2121

22-
# - name: Install dependencies
23-
# run: |
24-
# install.packages(c("remotes", "rcmdcheck"))
25-
# remotes::install_deps(pkgdir = "./R-package", dependencies = TRUE)
26-
# shell: Rscript {0}
27-
#
28-
# - name: Check
29-
# run: |
30-
# options(crayon.enabled = TRUE)
31-
# rcmdcheck::rcmdcheck(path = "./R-package", args = "--no-manual", error_on = "error")
32-
# shell: Rscript {0}
22+
- name: Check
23+
run: |
24+
options(crayon.enabled = TRUE)
25+
rcmdcheck::rcmdcheck(path = "./R-package", args = "--no-manual", error_on = "error")
26+
shell: Rscript {0}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)