Commit 400ee4df authored by Pradat Yoann's avatar Pradat Yoann

update .gitlab-ci.yml to use renv

parent 4354909c
^renv$
^renv\.lock$
^LICENSE\.md$
# Project specific
**/tests/*.pdf
# Tags
*tags
......@@ -16,6 +13,7 @@ log/
# R
*.Rproj.user
*.Rprofile
renv/
# Open cached files
*.m~
......
......@@ -8,17 +8,31 @@ stages:
- test
- install
default:
tags:
- docker
variables:
RENV_CONFIG_REPOS_OVERRIDE: "http://cran.r-project.org"
RENV_PATHS_CACHE: ${CI_PROJECT_DIR}/cache
RENV_PATHS_LIBRARY: ${CI_PROJECT_DIR}/renv/library
CODECOV_TOKEN: "b524d434-9189-48fc-a919-72e40de8cd22"
cache:
key: ${CI_JOB_NAME}
paths:
- ${RENV_PATHS_CACHE}
- ${RENV_PATHS_LIBRARY}
before_script:
- apt-get update
install_dependencies:
stage: dependencies
script:
- apt-get install --yes --no-install-recommends r-cran-devtools
- R -e 'devtools::install_deps(dependencies=c("Depends", "Imports", "Suggests"))'
- Rscript -e "if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv')"
- Rscript -e "renv::restore()"
- Rscript -e 'devtools::install_deps(dependencies=c("Depends", "Imports", "Suggests"))'
buildbinary:
stage: build
......
{
"R": {
"Version": "3.6.2",
"Repositories": [
{
"Name": "CRAN",
"URL": "https://cloud.r-project.org"
}
]
},
"Packages": {
"R6": {
"Package": "R6",
"Version": "2.5.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "b203113193e70978a696b2809525649d"
},
"assertthat": {
"Package": "assertthat",
"Version": "0.2.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "50c838a310445e954bc13f26f26a6ecf"
},
"brio": {
"Package": "brio",
"Version": "1.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "570a24963009b9cce0869a0463c83580"
},
"callr": {
"Package": "callr",
"Version": "3.5.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "b7d7f1e926dfcd57c74ce93f5c048e80"
},
"cli": {
"Package": "cli",
"Version": "2.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "0b316487b21d21f99ebf98abe179b1ea"
},
"crayon": {
"Package": "crayon",
"Version": "1.3.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "0d57bc8e27b7ba9e45dba825ebc0de6b"
},
"desc": {
"Package": "desc",
"Version": "1.2.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "6c8fe8fa26a23b79949375d372c7b395"
},
"diffobj": {
"Package": "diffobj",
"Version": "0.3.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "16533929cf545f3c9b796780cccf5eff"
},
"digest": {
"Package": "digest",
"Version": "0.6.27",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "a0cbe758a531d054b537d16dff4d58a1"
},
"dplyr": {
"Package": "dplyr",
"Version": "1.0.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "d0509913b27ea898189ee664b6030dc2"
},
"ellipsis": {
"Package": "ellipsis",
"Version": "0.3.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "fd2844b3a43ae2d27e70ece2df1b4e2a"
},
"evaluate": {
"Package": "evaluate",
"Version": "0.14",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "ec8ca05cffcc70569eaaad8469d2a3a7"
},
"fansi": {
"Package": "fansi",
"Version": "0.4.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7fce217eaaf8016e72065e85c73027b5"
},
"generics": {
"Package": "generics",
"Version": "0.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "4d243a9c10b00589889fe32314ffd902"
},
"glue": {
"Package": "glue",
"Version": "1.4.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "6efd734b14c6471cfe443345f3e35e29"
},
"gtable": {
"Package": "gtable",
"Version": "0.3.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "ac5c6baf7822ce8732b343f14c072c4d"
},
"jsonlite": {
"Package": "jsonlite",
"Version": "1.7.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "1ec84e070b88b37ed169f19def40d47c"
},
"lifecycle": {
"Package": "lifecycle",
"Version": "0.2.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "361811f31f71f8a617a9a68bf63f1f42"
},
"magrittr": {
"Package": "magrittr",
"Version": "2.0.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "41287f1ac7d28a92f0a286ed507928d3"
},
"pillar": {
"Package": "pillar",
"Version": "1.4.6",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "bdf26e55ccb7df3e49a490150277f002"
},
"pkgbuild": {
"Package": "pkgbuild",
"Version": "1.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "404684bc4e3685007f9720adf13b06c1"
},
"pkgconfig": {
"Package": "pkgconfig",
"Version": "2.0.3",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "01f28d4278f15c76cddbea05899c5d6f"
},
"pkgload": {
"Package": "pkgload",
"Version": "1.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "b6b150cd4709e0c0c9b5d51ac4376282"
},
"praise": {
"Package": "praise",
"Version": "1.0.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "a555924add98c99d2f411e37e7d25e9f"
},
"prettyunits": {
"Package": "prettyunits",
"Version": "1.1.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "95ef9167b75dde9d2ccc3c7528393e7e"
},
"processx": {
"Package": "processx",
"Version": "3.4.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "03446ed0b8129916f73676726cb3c48f"
},
"ps": {
"Package": "ps",
"Version": "1.4.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "f5d7d94cc097aa9dade988e3e6715067"
},
"purrr": {
"Package": "purrr",
"Version": "0.3.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "97def703420c8ab10d8f0e6c72101e02"
},
"rematch2": {
"Package": "rematch2",
"Version": "2.1.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "76c9e04c712a05848ae7a23d2f170a40"
},
"renv": {
"Package": "renv",
"Version": "0.12.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7340c71f46a0fd16506cfa804e224e44"
},
"rlang": {
"Package": "rlang",
"Version": "0.4.8",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "843a6af51414bce7f8a8e372f11d6cd0"
},
"rprojroot": {
"Package": "rprojroot",
"Version": "2.0.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "249d8cd1e74a8f6a26194a91b47f21d1"
},
"rstudioapi": {
"Package": "rstudioapi",
"Version": "0.13",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "06c85365a03fdaf699966cc1d3cf53ea"
},
"testthat": {
"Package": "testthat",
"Version": "3.0.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "13298cedd051cb7b8a8972d380b559a6"
},
"tibble": {
"Package": "tibble",
"Version": "3.0.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "71dffd8544691c520dd8e41ed2d7e070"
},
"tidyselect": {
"Package": "tidyselect",
"Version": "1.1.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "6ea435c354e8448819627cf686f66e0a"
},
"utf8": {
"Package": "utf8",
"Version": "1.1.4",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "4a5081acfb7b81a572e4384a7aaf2af1"
},
"vctrs": {
"Package": "vctrs",
"Version": "0.3.5",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "d25c5bea636cf892edbfd64fc3d20c20"
},
"waldo": {
"Package": "waldo",
"Version": "0.2.3",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "181d1a31b1ba2009ef20926f2ee0570c"
},
"withr": {
"Package": "withr",
"Version": "2.3.0",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "7307d79f58d1885b38c4f4f1a8cb19dd"
}
}
}
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