Skip to content
Snippets Groups Projects
Commit 0ee88c15 authored by David Dorchies's avatar David Dorchies :zany_face:
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: ...@@ -19,13 +19,23 @@ before_script:
- mkdir -p $R_LIBS_USER - mkdir -p $R_LIBS_USER
- echo "R_LIBS='$R_LIBS_USER'" > .Renviron - echo "R_LIBS='$R_LIBS_USER'" > .Renviron
- R -q -e 'if (!require(remotes)) install.packages("remotes")' - 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: pages:
stage: deploy stage: deploy
rules: rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
script: script:
- R -q -e 'devtools::install(dependencies = TRUE)'
- R -q -e 'fairify::build_site()' - R -q -e 'fairify::build_site()'
artifacts: artifacts:
paths: 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