targets
Dynamic Function-Oriented 'Make'-Like Declarative Pipelines
Description
Pipeline tools coordinate the pieces of computationally demanding analysis projects. The 'targets' package is a 'Make'-like pipeline tool for statistics and data science in R. The package skips costly runtime for tasks that are already up to date, orchestrates the necessary computation with implicit parallel computing, and abstracts files as R objects. If all the current output matches the current upstream code and data, then the whole pipeline is up to date, and the results are more trustworthy than otherwise. The methodology in this package borrows from GNU 'Make' (2015, ISBN:978-9881443519) and 'drake' (2018, <doi:10.21105/joss.00550>).
Downloads
23K
Last 30 days
774th
58.1K
Last 90 days
218.6K
Last year
Trend: +30.8% (30d vs prior 30d)
226
Last 30 days
754
Last 90 days
3.7K
Last year
Trend: -3% (30d vs prior 30d)
r2u: no daily series yet
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
tests
Running ‘testthat.R’ [68s/91s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> Sys.setenv(PROCESSX_NOTIFY_OLD_SIGCHLD = "true")
> library(testthat)
> library(targets)
> test_check("targets", reporter = ProgressReporter$new(
...[truncated]...
:
cannot create dir '/tmp/Rtmp3CJ40b/file1bbcaefdae057', reason 'No space left on device'
4: In dir.create(path, recursive = TRUE) :
cannot create dir '/tmp/Rtmp3CJ40b/file1bbcae373aa1a2', reason 'No space left on device'
Execution halted