-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pipeline output to data/ and add script to call tar_make() and us…
…e_data()
- Loading branch information
Showing
8 changed files
with
674 additions
and
650 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# ---- Load Libraries ---- | ||
library(tidyverse) | ||
library(targets) | ||
library(usethis) | ||
|
||
# ---- Run targets pipeline ---- | ||
# tar_destroy() # Uncomment and run if want to reproduce from scratch, run locally only | ||
tar_make() | ||
|
||
# ---- Read targets and use data ---- | ||
|
||
# Targets required for main manuscript: | ||
tar_load(ManyEcoEvo) | ||
tar_load(ManyEcoEvo_yi) | ||
tar_load(ManyEcoEvo_results) | ||
tar_load(ManyEcoEvo_yi_results) | ||
tar_load(ManyEcoEvo_viz) | ||
tar_load(ManyEcoEvo_yi_viz) | ||
|
||
usethis::use_data(ManyEcoEvo, | ||
ManyEcoEvo_yi, | ||
ManyEcoEvo_results, | ||
ManyEcoEvo_yi_results, | ||
ManyEcoEvo_viz, | ||
ManyEcoEvo_yi_viz, | ||
overwrite = TRUE) | ||
|
||
# TODO also need to add raw files to demonstrate pipeline / package functionality in package vignette and software manuscript. | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.