Skip to content

Commit 6ef9caf

Browse files
committed
Add step to delete dsBase's source code, after successful installation
1 parent cb1ab96 commit 6ef9caf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
run: |
5858
Rscript -e 'install.packages(c("RANN", "stringr", "lme4", "dplyr", "reshape2", "polycor", "gamlss", "gamlss.dist", "mice", "childsds", "usethis", "devtools"), dependencies = TRUE)'
5959
R CMD INSTALL ./dsBase
60+
61+
- name: Remove dsBase source code
62+
run: |
63+
Rscript -e "'dsBase' %in% rownames(installed.packages())" | grep -q TRUE && rm -rf ./dsBase
6064
6165
- uses: r-lib/actions/check-r-package@v2
6266
with:

0 commit comments

Comments
 (0)