The targets package is a pipeline toolkit for Make-like declarative workflows in R. Please visit the documentation website at https://wlandau.github.io/targets/ for more information.
Questions tagged [targets-r-package]
50 questions
0
votes
1 answer
implications of using callr_function = NULL in targets package
I was wondering what happens when callr_function = NULL?
Is it just issues with things maybe being in the environment/side effects?
Mainly wondering because I was passing quite large spatio-temporal arrays (0.5 to 5 gigs) and callr serialization via…

sdc
- 5
- 1
0
votes
0 answers
R targets and dataRetrieval return a connection error
I am attempting to use a targets workflow in my R project. I am attempting to download water quality data using the dataRetrieval package. In a fresh R session this…

mpschramm
- 520
- 6
- 12
0
votes
0 answers
How can I call the tar_make() from a R script?
I have a project with the library targets working.
But I want to call the function tar_make() from a script on an internal folder of this same project.
My folders are like this:
default2
-> _targets.R
-> _targets/
...
-> scripts/
…

Edumacsou
- 15
- 4
0
votes
0 answers
How to run parallel GRASS GIS mapsets from R using rgrass7 in a drake/targets pipeline?
I want to parallelize my GRASS GIS analysis and calculations using the package rgrass7 from within a targets pipeline. As I am a newbie to GRASS, I am not sure how to correctly set up multiple mapsets in the same GRASSGIS database. So far I tried…

MxNl
- 371
- 2
- 9
0
votes
1 answer
Trigger code when a file is missing in targets package
Consider the following code, where I have two files in my targets pipeline.
options(crayon.enabled = FALSE, tidyverse.quiet = TRUE)
library(targets)
library(tidyverse)
write_csv(tibble(x1 = 1, x2 = 1), "a.csv")
write_csv(tibble(x1 = 1, x2 = 1),…

Mark Payne
- 557
- 5
- 12