Skip to content
Snippets Groups Projects
Commit 6746648d authored by GD's avatar GD
Browse files

install missing requirements

parent 261c375c
Branches
No related tags found
No related merge requests found
Pipeline #535 failed
......@@ -2,8 +2,9 @@ pages:
stage: deploy
image: rocker/rstudio
script:
- Rscript requirements.R
- quarto render ./
- mv _site/* public/
- mv _site/* public/ # gitlab pages should be stored in 'public' directory
artifacts:
paths:
- public
......
# manage R packages with pacman R package
if(!requireNamespace("pacman", quietly = TRUE)) install.packages("pacman")
# requirements
pkg_list <- c(
"jsonlite", # gitlab CI complains that the package is missing
"rmarkdown" # gitlab CI complains that the package is missing
)
# install
pacman::p_load(char = pkg_list)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment