The targets
package is a Make-like pipeline toolkit for Statistics and data science in R. With targets
, you can maintain a reproducible workflow without repeating yourself. targets
skips costly runtime for tasks that are already up to date, runs the necessary computation with implicit parallel computing, and abstracts files as R objects. A fully up-to-date targets
pipeline is tangible evidence that the output aligns with the code and data, which substantiates trust in the results.
tar_make()
and tar_read()
.targets
short course. Work through the exercises in R notebooks 1-functions.Rmd
, 2-pipelines.Rmd
, and 3-changes.Rmd
.You can install the GitHub development version of targets
to access the latest features and patches.
library(remotes)
install_github("ropensci/targets")
targets
.targets
.tar_watch()
: a built-in Shiny app to visualize progress while a pipeline is running.targetsketch
: a Shiny app to help sketch pipelines (app, source).The R Targetopia consists of specialized workflow frameworks tailored to individual fields of Statistics and data science, and they use domain knowledge to abstract away most of the careful planning and engineering typically required to write pipelines. They leverage the full power of targets
while requiring minimal expertise with targets
itself. Examples include stantargets
and tarchetypes
.
targets
tag.targets-r-package
tag.Please note that this package is released with a Contributor Code of Conduct.
citation("targets")
#>
#> To cite targets in publications use:
#>
#> Landau, W. M., (2021). The targets R package: a dynamic Make-like
#> function-oriented pipeline toolkit for reproducibility and
#> high-performance computing. Journal of Open Source Software, 6(57),
#> 2959, https://doi.org/10.21105/joss.02959
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Article{,
#> title = {The targets R package: a dynamic Make-like function-oriented pipeline toolkit for reproducibility and high-performance computing},
#> author = {William Michael Landau},
#> journal = {Journal of Open Source Software},
#> year = {2021},
#> volume = {6},
#> number = {57},
#> pages = {2959},
#> url = {https://doi.org/10.21105/joss.02959},
#> }