Published October 2, 2024 | Version 1.8.0
Software Open

ropensci/targets: Content addressable storage

  • 1. Eli Lilly and Company @EliLillyCo
  • 2. @sunholo-data
  • 3. Stanford University
  • 4. Voltron Data
  • 5. Chiba University
  • 6. @wildlifeevoeco
  • 7. @cynkra
  • 8. Luxembourg Institute of Socio-Economic Research (LISER)
  • 9. Scarlatti
  • 10. University of Cambridge
  • 11. Hibiki AI
  • 12. @jumpingrivers
  • 13. University of Leeds
  • 14. devXY GmbH
  • 15. @ropensci
  • 16. @posit-pbc
  • 17. Human Predictions LLC

Description

targets 1.8.0

  • Wrap tar_watch() UI module in bslib::page() (#1302, @kwbyron-lilly).
  • Remove callr_function in tar_make_as_job() argument list.
  • Ensure storage = "worker" is respected when the process of storing an object generates an error (#1304, @multimeric).
  • Default to the _targets.R pattern in tar_branches() (#1306, @multimeric, @mattwarkentin).
  • Remove superfluous functions and globals from metadata with tar_prune() (#1312, @benzipperer).
  • Change the default workspace_on_error option to TRUE (#1310, @hadley).
  • Enhance and organize the error = "stop" error message.
  • Avoid saving a file in _targets/objects for error = "null". Instead, switch to a special "null" storage format class if error is "null" the target throws an error. This should allow users to more freely create new formats with tar_format() without worrying about how to handle NULL objects created by error = "null".
  • Implement format = "auto" (#1311, @hadley).
  • Replace pingr dependency with base::socketConnection() for local URL utilities (#1317, #1318, @Adafede).
  • Implement tar_repository_cas(), tar_repository_cas_local(), and tar_repository_cas_local_gc() for content-addressable storage (#1232, #1314, @noamross).
  • Add tar_format_get() to make implementing CAS systems easier.
  • Implement error = "trim" in tar_target() and tar_option_set() (#1310, #1311, @hadley).
  • Use the file system type to decide whether to trust time stamps (#1315, @hadley, @gaborcsardi).
  • Deprecate format = "file_fast" in favor of the above (#1315).
  • Deprecate trust_object_timestamps in favor of the more unified trust_timestamps in tar_option_set() (#1315).
  • Print storage size of each target in verbose reporters (#1337, @psychelzh).
  • Combine help files of tar_target() and tar_target_raw(). Same with tar_load() and tar_load_raw().
  • Add a substitute argument to tar_format() to make it easier to write custom storage formats without metaprogramming.

Files

ropensci/targets-1.8.0.zip

Files (1.2 MB)

Name Size Download all
md5:73a680d77f99eb05263ffcdd59212050
1.2 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/ropensci/targets/tree/1.8.0 (URL)