Published September 21, 2021
| Version 0.8.0
Software
Open
ropensci/targets: Multi-project config
Authors/Creators
- 1. Eli Lilly and Company @EliLillyCo
- 2. University of Toronto
- 3. @wildlifeevoeco
- 4. Manaaki Whenua
- 5. University of Cambridge
- 6. @cynkra
- 7. University of Leeds
- 8. @jumpingrivers
Description
targets 0.8.0
Bug fixes
- Hash the correct files in
tar_target(target_name, ..., format = "aws_file"). Previously,_targets/objects/target_namewas also hashed if it existed.
- Implement a new
tar_config_unset()function to delete one or more configuration settings from the YAML configuration file. - Implement the
TAR_CONFIGenvironment variable to set the default file path of the YAML configuration file with project settings (#622, @yyzeng, @atusy, @nsheff, @wdkrnls). IfTAR_CONFIGis not set, the file path is still_targets.yaml. - Restructure the YAML configuration file format to handle configuration information for multiple projects (using the
configpackage) and support theTAR_PROJECTenvironment variable to select the current active project for a given R session. The old single-project format is gracefully deprecated (#622, @yyzeng, @atusy, @nsheff, @wdkrnls). - Implement
retrieval = "none"andstorage = "none"to anticipate loading/saving targets from other languages, e.g. Julia (@MilesMcBain). - Add a new
tar_definition()function to get the target definition object of the current target while that target is running in a pipeline. - If called inside an AWS target,
tar_path()now returns the path to the staging file instead of_targets/objects/target_name. This ensures you can still write totar_path()instorage = "none"targets and the package will automatically hash the right file and upload it to the cloud. (This behavior does not apply to formats"file"and"aws_file", where it is never necessary to setstorage = "none".)
- Use
eval(parse(text = ...), envir = tar_option_set("envir")instead ofsource()in the_targets.Rfile for Target Markdown. - Allow feather and parquet formats to accept objects of class
RecordBatchandTable(@MilesMcBain). - Let
knitrload the Target Markdown engine (#469, @nviets, @yihui). Minimumknitrversion is now1.34. - In the
tar_resources_future()help file, encourage the use ofplanto specify resources.
Files
ropensci/targets-0.8.0.zip
Additional details
Related works
- Is supplement to
- https://github.com/ropensci/targets/tree/0.8.0 (URL)