Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Website template using Quarto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
Hub
Website template using Quarto
Commits
6746648d
Commit
6746648d
authored
2 years ago
by
GD
Browse files
Options
Downloads
Patches
Plain Diff
install missing requirements
parent
261c375c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#535
failed
2 years ago
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
requirements.R
+11
-0
11 additions, 0 deletions
requirements.R
with
13 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
1
View file @
6746648d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
requirements.R
0 → 100644
+
11
−
0
View file @
6746648d
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment