Skip to content
Snippets Groups Projects
Commit 0ee88c15 authored by David Dorchies's avatar David Dorchies
Browse files

fix(create_fairify): dependency installation issues and add check

parent b2ba57c1
No related branches found
No related tags found
No related merge requests found
Pipeline #175206 canceled
......@@ -19,13 +19,23 @@ before_script:
- mkdir -p $R_LIBS_USER
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- R -q -e 'if (!require(remotes)) install.packages("remotes")'
- R -q -e 'remotes::install_deps(dep = T)'
- R -q -e 'remotes::install_deps(dependencies = TRUE)'
check:
variables:
NOT_CRAN: "true"
stage: checks
allow_failure: true
script:
- R -q -e 'remotes::update_packages("rcmdcheck")'
- R -q -e 'rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")'
pages:
stage: deploy
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
script:
- R -q -e 'devtools::install(dependencies = TRUE)'
- R -q -e 'fairify::build_site()'
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment