Make Your 'targets' Pipelines into a Package
Overview
Runs 'targets' pipelines bundled inside a package and caches the results in the R user cache directory, so that users of the package do not need to rerun the pipeline themselves. Package authors can update the cached results at any time by releasing a new package version.
- The archive functions now validate their
packageandpipelinearguments and report a clear error when the package or pipeline cannot be found. - tarchives no longer depends on usethis.
tar_archive_pipelines()lists the pipelines bundled in a package.tar_archive_pipelines(),tar_archive_script(),tar_make_archive(),tar_manifest_archive(), andtar_source_archive()now correctly resolvepackagewhen it is loaded withpkgload::load_all()(e.g. during interactive package development), instead of silently falling back to the installed copy.tar_destroy_archive()removes the cached store of an archived pipeline.tar_load_archive()loads archived targets into an environment.tar_manifest_archive()lists the targets defined in an archived pipeline.tar_meta_archive()reads the metadata of an archived pipeline's store.tar_read_archive(),tar_load_archive(), andtar_meta_archive()now fail with an informative error when the archived store has not been built yet.tar_target_archive()now builds and reads the archive when the target runs rather than when the target script is sourced, so inspecting a pipeline withtar_manifest()ortar_visnetwork()no longer triggers a build. The target tracks the installed version of the package, so it refreshes the data when a new version of the package providing the archive is installed and is skipped otherwise.- Tests no longer leave files in the user cache directory (
tools::R_user_dir("tarchives", "cache")) duringR CMD check, which caused the package to be archived on CRAN.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK6 OK2026-07-13
Documentation
- Help pages
- 14 (1 internal)includes a package overview page
- Examples that run
- 54%7 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 11
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/uchidamizuki/tarchives on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-17 · The repository has a site deploy workflow
pkgdown site last built 2026-10-17
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-07Seen in the repository: .claudeNamed in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 25 crediting it in the message
- Claude Opus 4.815 commits · Jun 2026
- Claude Opus 5.55 commits · Oct 2026
- Claude Sonnet 55 commits · Jul 2026
Dependencies
Installing tarchives adds 31 packages (18 with compiled code, 19 MB of source tarballs). Heaviest: data.table 5.7 MB, igraph 4.8 MB, fs 1.4 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- unarchivedReturned to CRAN2026-07-12
- 0.2.0Latestfirst seen 2026-07-12 · current release · diff ↗ ·
added 5 exports
tar_archive_pipelines, tar_destroy_archive, tar_load_archive, tar_manifest_archive, tar_meta_archive - RR 4.6.0 released · 2026-04-24
- archivedRemoved from CRAN2026-03-03issues were not corrected in time
- 0.1.12025-06-22 · diff ↗
- 0.1.02025-06-04
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-06-04
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 29 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tarchives")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.