Commit 0031e711 authored by Pradat Yoann's avatar Pradat Yoann

update with tableextra_docker

parent eff333df
stages:
- check
- test
- install
default:
tags:
- docker
variables:
RENV_PATHS_ROOT: "/opt/r_renv"
CODECOV_TOKEN: "b524d434-9189-48fc-a919-72e40de8cd22"
before_script:
- Rscript -e 'renv::restore()'
check:
stage: check
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/rcached
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/tableextra_docker
script:
- Rscript -e 'if (!identical(devtools::check(document = FALSE, args = "--no-tests")[["errors"]], character(0))) stop("Check with Errors")'
test:
stage: test
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/tableextra_docker
script:
- Rscript -e 'if (any(as.data.frame(devtools::test())[["failed"]] > 0)) stop("Some tests failed.")'
- Rscript -e 'covr::codecov()'
install:
stage: check
image: gitlab-research.centralesupelec.fr:4567/2019pradaty/tableextra_docker
script:
- echo ~
- ls -la ~
- Rscript -e "cat(paste('path renv root:', renv::paths\$root()), '\\n')"
# - Rscript -e 'if (!requireNamespace("renv", quietly = TRUE)) install.packages("renv")'
# - Rscript -e 'renv::restore()'
# - Rscript -e 'if (!requireNamespace("devtools", quietly = TRUE)) install.packages("devtools")'
# - Rscript -e 'devtools::build(binary=T)'
# - Rscript -e 'devtools::document()'
# - Rscript -e 'if (!identical(devtools::check(document = FALSE, args = "--no-tests")[["errors"]], character(0))) stop("Check with Errors")'
# - Rscript -e 'if (any(as.data.frame(devtools::test())[["failed"]] > 0)) stop("Some tests failed.")'
# - Rscript -e 'covr::codecov()'
# - Rscript -e 'devtools::install()'
- Rscript -e 'devtools::build(binary=T)'
- Rscript -e 'devtools::install()'
......@@ -214,10 +214,10 @@
},
"renv": {
"Package": "renv",
"Version": "0.12.0",
"Version": "0.12.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7340c71f46a0fd16506cfa804e224e44"
"Hash": "398cc1ea892e1aade66d1ecbb2874d24"
},
"rlang": {
"Package": "rlang",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment