Published February 27, 2021
| Version 0.2.0
Software
Open
ropensci/targets: Nicer arguments and messages
Authors/Creators
- 1. Eli Lilly and Company @EliLillyCo
- 2. University of Toronto
- 3. Manaaki Whenua
- 4. University of Cambridge
- 5. University of Leeds
Description
Bug fixes
- In
tar_load(), subset metadata to avoid accidental attempts to load global objects intidyselectcalls. - Do not register a pattern as running unless an actual branch is about to start (#304).
- Use a name spec in
vctrs::vec_c()(#320, @joelnitta).
- Add a new
namesargument totar_objects()andtar_workspaces()withtidyselectfunctionality. - Record info on the main process (PID, R version,
targetsversion) in_targets/meta/processand write new functionstar_process()andtar_pid()to retrieve the data (#291, #292). - Add a new
targets_onlyargument totar_meta(). - Add new functions
tar_helper()andtar_helper_raw()to write general-purpose R scripts, using tidy evaluation for as a template mechanism (#290, #291, #292, #306). - Export functions to check the existence of various pieces of local storage:
tar_exist_meta(),tar_exist_objects(),tar_exist_progress(),tar_exist_progress(),tar_exist_script()(#310). - Add a new
superviseargument totar_watch(). - Add a new
complete_onlyargument totar_meta()to optionally return only complete rows (noNAvalues). - Catch
callrerrors and refer users to the debugging chapter of the manual.
- Improve error messages of invalid arguments (#298, @brunocarlin). Removes partial argument matching in most cases.
- By default, locally enable
crayonif an only if the calling process is interactive (#302, @ginolhac). Can still be disabled withoptions(crayon.enabled = FALSE)in_targets.R. - Improve error handling and message for
format = "url"when the HTTP response status code is not 200 (#303, @petrbouchal). - Add more
extraspackages totar_renv()(to supporttar_watch()). - Show informative message instead of error in
tar_watch()if_targets.Rdoes not exist. - Clear up the documentation of the
namesargument oftar_load()(#314, @jameelalsalam). - Do not override
nobodyin customcurlhandles (#315, @riazarbi). - Rename "running" to "started" in the progress metadata. This avoids the implicit claim that
targetsis somehow actively monitoring each job, e.g. through a connection or heartbeat (#318). - Set
errormode = "warn"ingetVDigest()for files to work around https://github.com/eddelbuettel/digest/issues/49 for network drives on Windows.targetsalready runs those file checks anyway. (#316, @boshek). - If a package fails to load, print the library paths
targetstried to load from.
Files
ropensci/targets-0.2.0.zip
Additional details
Related works
- Is supplement to
- https://github.com/ropensci/targets/tree/0.2.0 (URL)