Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drake-gitlab-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Jacek Lebioda
drake-gitlab-docker
Commits
4cc3b62b
Commit
4cc3b62b
authored
5 years ago
by
Noam Ross
Browse files
Options
Downloads
Patches
Plain Diff
Enhance interactive
parent
562aa511
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
_drake.R
+16
-0
16 additions, 0 deletions
_drake.R
with
17 additions
and
1 deletion
Makefile
+
1
−
1
View file @
4cc3b62b
...
...
@@ -3,4 +3,4 @@ CI_REGISTRY_IMAGE ?= registry.gitlab.com/ecohealthalliance/repel-drake
all
:
docker
docker
:
docker run
-v
`
pwd
`
:/repo
-w
/repo
$(
CI_REGISTRY_IMAGE
)
:latest ./make.R
docker
build
-t
$(
CI_REGISTRY_IMAGE
)
:latest
.
&&
docker
run
-v
`
pwd
`
:/repo
-w
/repo
$(
CI_REGISTRY_IMAGE
)
:latest ./make.R
This diff is collapsed.
Click to expand it.
_drake.R
0 → 100644
+
16
−
0
View file @
4cc3b62b
# This file serves the r_*() functions (e.g. r_make()) documented at
# https://ropenscilabs.github.io/drake-manual/projects.html#safer-interactivity # nolint
# and
# https://docs.ropensci.org/drake/reference/r_make.html
# Load your packages and supporting functions into your session.
# If you use supporting scripts like the ones below,
# you will need to supply them yourself. Examples:
# https://github.com/wlandau/drake-examples/tree/master/main/R
source
(
"R/packages.R"
)
# Load your packages, e.g. library(drake).
source
(
"R/functions.R"
)
# Define your custom code as a bunch of functions.
source
(
"R/plan.R"
)
# Create your drake plan.
# _drake.R must end with a call to drake_config().
# The arguments to drake_config() are basically the same as those to make().
drake_config
(
my_plan
)
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