Skip to content
Snippets Groups Projects
Commit 4cc3b62b authored by Noam Ross's avatar Noam Ross
Browse files

Enhance interactive

parent 562aa511
No related branches found
No related tags found
No related merge requests found
......@@ -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
_drake.R 0 → 100644
# 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment