Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stressaddition
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oekotox
stressaddition
Commits
92a1f2a9
Commit
92a1f2a9
authored
4 years ago
by
Sebastian Henz
Browse files
Options
Downloads
Patches
Plain Diff
Run all in one session so the env var is set correctly. Fixes
#54
for real
parent
20b4f8c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!33
Fixes to tests and package checks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-4
13 additions, 4 deletions
.gitlab-ci.yml
with
13 additions
and
4 deletions
.gitlab-ci.yml
+
13
−
4
View file @
92a1f2a9
...
...
@@ -5,16 +5,25 @@
# with "document = TRUE" (the default), which updates the .Rd files, but then
# forgetting to commit and push those updated .Rd files.
# Setting the environment variable "_R_CHECK_SYSTEM_CLOCK_" to 0
# to disable package time check, see issue #54
# Run the R commands under a single "R -e" so everything runs in
# the same R session.
# Note for the future: If there are going to be more R commands just put them
# in a separate R script and run that from here.
.check_template
:
&check_job_template
only
:
-
master
-
merge_requests
-
tags
script
:
-
R -e 'sessionInfo()'
-
R -e 'Sys.setenv("_R_CHECK_SYSTEM_CLOCK_" = 0)'
# disable time check, see issue #54
-
R -e 'devtools::install_deps(quiet = TRUE)'
-
R -e 'devtools::check(error_on = "note", document = FALSE)'
-
R -e
"sessionInfo();
Sys.setenv('_R_CHECK_SYSTEM_CLOCK_' = 0);
devtools::install_deps(quiet = TRUE);
devtools::check(error_on = 'note', document = FALSE)"
# Earliest supported version
check-3.5.1
:
...
...
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