Recent Releases of tarchetypes
tarchetypes - Minor fixes
tarchetypes 0.13.1
- Restore custom output files in
tar_quarto_rep()(#217, @arcruz0). For #211, users should write relative paths to output files in theoutput_filecolumn ofexecute_params, and they should avoid writing a_quarto.ymlwith anoutput-dirfield. - Set
deployment = targets::tar_option_get("deployment")intar_render()andtar_quarto(). - Set
cli.num_colors = 1Landcli.dynamic = FALSEin R Markdown target factories.
- R
Published by wlandau 10 months ago
tarchetypes - tar_map2*() efficiency
tarchetypes 0.13.0
- Support
patternintar_skip()(#212, @CorradoLanera). - Allow
tar_quarto_rep()to write reports to subdirectories with the help of a project-level_quarto.yml(#211, @lgaborini). tar_map2*()functions now aggregate dynamic branches in parallel over static branches (#213).tar_map2*()functions gain anunlistargument.- Call
parallel::clusterExport()inmake_psock_cluster()to make sure globals carry over to parallel socket clusters.
- R
Published by wlandau 11 months ago
tarchetypes - Improvements to static branching and literate programming
tarchetypes 0.12.0
- Fix
tar_combine()help file examples (#206, @weberse2). - Account for project-level
output_dirin non-projecttar_quarto()calls (#207, @brndngrhm). - Use name when passing the
quietargument toquarto_inspect()(#208, @yusuke-sasaki-jprep). - Explicitly pass the
profileargument toquarto_inspect()andquarto_render(). Requires R packagequarto >= 1.4, which is already in theDESCIRPTION. tar_map_rep()now aggregates dynamic branches in parallel over static branches (#204).- Add
tar_rep_index()(#203).
- R
Published by wlandau about 1 year ago
tarchetypes - Quarto interface improvements
tarchetypes 0.11.0
- Add an
output_fileargument totar_quarto()andtar_quarto_raw()for single documents (#198, @mutlusun). - Detect child quarto documents (#199, @mutlusun).
- Improve reporting of static branch names from
tar_map()andtar_map_rep()(#201, @kkmann). - Ensure compatibility with
targetsafter https://github.com/ropensci/targets/issues/1368. - Improve detection of Quarto files in
tar_quarto_inspect()(#200, @multusun).
- R
Published by wlandau over 1 year ago
tarchetypes - tar_assign() and nanoparquet
tarchetypes 0.10.0
- Add a
delimiterargument totar_map()etc. for customizing separators in target names (#177, @psychelzh). - Add "raw" hook functions (#185, @multimeric).
- Add
tar_assign()(#186, https://github.com/ropensci/targets/issues/1309, @hadley). - Merge help files of "_raw" functions (#191, @hadley).
- Supersede
tar_format_feather()in favor oftar_arrow_feather()(#190). - Supersede the
tar_aws_*()target factories. They are obsolete because of therepositoryargument intar_target().
- R
Published by wlandau over 1 year ago
tarchetypes - secretbase
tarchetypes 0.9.0
Invalidating changes
- To align with https://github.com/ropensci/targets/issues/1244 and https://github.com/ropensci/targets/pull/1262, switch the hashing functions from
digest::digest()tosecretbase::siphash13().
- R
Published by wlandau almost 2 years ago
tarchetypes - Descriptions, working directories, and output file paths
tarchetypes 0.8.0
- Expose the new
descriptionargument oftar_target()intargets1.5.1.9001. tar_map()and other static branching target factories now append values to the target descriptions. Use thedescriptionsargument of those functions to customize.- Ensure consistent
repositorysettings intar_change()andtar_map_rep(). tar_knit(),tar_render(),tar_quarto(), and their "rep" and "raw" versions all gain aworking_directoryargument to change the working directory the report knits from. Users who setworking_directoryneed to supply thestoreargument oftar_load()andtar_read()relative to the working directory so the report knows where to find the data (#169).tar_knit(),tar_render(),tar_quarto(), and their "raw" versions all gain anoutput_fileargument to more conveniently set the file path to the rendered output file.tar_quarto()and its "rep" and "raw" versions all gain a newquarto_argsargument for advanced Quarto arguments (#166, @petrbouchal).
- R
Published by wlandau almost 2 years ago
tarchetypes - Compatibility with upcoming guardrails in `targets`
tarchetypes 0.7.12 (development)
- Adjust tests because group iteration is now explicitly prohibited for dynamic targets.
- R
Published by wlandau about 2 years ago
tarchetypes - Smooth over alignment with {targets}' seeds
tarchetypes 0.7.11
- Use
tar_seed_create()andtar_seed_set()fromtargets. - Document limitations of literate programming target factories like
tar_render()(#158). - Make
tar_rep2()compatible withtar_map()(#165).
- R
Published by wlandau about 2 years ago
tarchetypes - Seeds and progress status
tarchetypes 0.7.10
- Prepare to use
tar_seed_create()andtar_seed_set()(https://github.com/ropensci/targets/issues/1139). Future versions oftarchetypesshould use these package functions, but this version cannot because of the compatibility constraints of the release cycle. - Migrate tests to
targets>= 1.3.2.9004 progress statuses ("completed" instead of "built", "dispatched" instead of "started").
- R
Published by wlandau about 2 years ago
tarchetypes - Nested parallelism workaround
tarchetypes 0.7.9
- Deprecate the
packagesandlibraryarguments oftar_quarto()andtar_quarto_raw()(#155, @svraka). - Switch to from
furrrtoparallelforrep_workersintar_rep()etc. (#251, @solmos).
- R
Published by wlandau over 2 years ago
tarchetypes - Minor patch
tarchetypes 0.7.8
- Relax overly strict assertion on R Markdown / Quarto parameter lists (@rmgpanw, #152).
- Adjust a test to comply with upcoming
targets1.3.0.
- R
Published by wlandau over 2 years ago
tarchetypes - file_fast
tarchetypes 0.7.7
- Allow
format = "file_fast"in target factories.
- R
Published by wlandau over 2 years ago
tarchetypes - Quarto profiles
tarchetypes 0.7.6
- Support Quarto profiles through the
QUARTO_PROFILEenvironment variable (#139, @andrewheiss). - Take the basename of the source file for #129 so the output files land correctly when the source file is in a subdirectory (#129,
targetsissue 1047, @joelnitta). - Use
targets::tar_runtime_object()$storeinstead oftargets::tar_runtime_object()$get_store()to ensure forward compatibility withtargets. - Use interactive test for
tar_download()to avoid unpredictable network issues outside our control.
- R
Published by wlandau almost 3 years ago
tarchetypes - Bug fixes: hooks and literate programming
tarchetypes 0.7.5
- Implement a new
set_depsargument in the hook functions to force modified targets to keep the dependencies they had before applying the hook (#131, @edalfon). - Forward all settings to
tar_copy_target()(#131, @edalfon). - Initialize the directory of output files in
tar_quarto_rep()andtar_render_rep()(#129, @benzipperer). - Work around https://github.com/quarto-dev/quarto-cli/pull/2456 by writing temporary local files in
tar_quarto_rep()(#129, @benzipperer).
- R
Published by wlandau almost 3 years ago
tarchetypes - Nested batched replication bug fixes
tarchetypes 0.7.4
- Implement
rep_workersto control inner parallelism in batched replication functions (#117). - Ensure the function passed to
furrrfunctions has environmenttar_option_get("envir"). - Allow subdirectories of rendered reports with
tar_quarto_rep()(#129, @mglev1n).
- R
Published by wlandau about 3 years ago
tarchetypes - Nested future parallelism
tarchetypes 0.7.3
- Support nested futures for parallelism among reps within batches (#117, @kkmann).
- Add Quarto troubleshooting section to help files.
- R
Published by wlandau over 3 years ago
tarchetypes - Resilient rep-specific seeds
tarchetypes 0.7.2
- Migrate away from deprecated
targets::tar_path(). - Implement and return resilient seeds in batched replication (#111, #113).
- R
Published by wlandau over 3 years ago
tarchetypes - Minor patch
tarchetypes 0.7.1
- Document https://github.com/ropensci/tarchetypes/discussions/105 (@MarekGierlinski).
- Adapt tests to changes in
tar_manfiest()default output.
- R
Published by wlandau over 3 years ago
tarchetypes - Quarto integration
tarchetypes 0.7.0
- Add new functions
tar_quarto()andtar_quarto_rep()(and "raw" versions) for Quarto documents and projects in pipelines (#89). - Add new function
tar_quarto_files()to inspect Quarto projects and documents for important files: source files to inspect for target dependencies, output documents, and Quarto-specific inputs like_quarto.yml. Usesquarto::quarto_inspect()and powers the automatic file detection intar_quarto()etc. (#89). - Add runtime guardrails to the
paramsargument oftar_render_rep()(must be a data frame with unique rows (or unique elements ofoutput_file)). - Temporarily change
root.dirwhen scanning for dependencies soknitrchild documents work (#93, @mutlusun). - Use
format = "rds"fortarget_batchintar_map_rep_raw()so the global format option does not mess up the pipeline. - Handle non-atomic length-one list columns in
tar_append_static_values(). - Allow
tar_render()to work with just one row of parameters (#96, #97, @ugoebel73). - Remove dependencies and collect garbage before running reports.
- Make sure all the target factories have
memoryandgarbage_collectionarguments.
- R
Published by wlandau over 3 years ago
tarchetypes - The repository argument and new AWS format specification
tarchetypes 0.6.0
- Select the correct targets in
tar_select_targets()(#92, @arcruz0). - Support the
repositoryargument fortargets>= 0.11.0.
- R
Published by wlandau almost 4 years ago
tarchetypes - tar_file_read() and migrated AWS format tests
tarchetypes 0.5.0
- Implement
tar_file_read()(#84, @petrbouchal). - Suppress warnings for deprecated AWS formats.
- R
Published by wlandau almost 4 years ago
tarchetypes - Advanced target factory patch
tarchetypes 0.4.1
- Select list elements from
command1using[[and not[intar_map2()functions.
- R
Published by wlandau about 4 years ago
tarchetypes - Advanced target factories
tarchetypes 0.4.0
- Implement
tar_map_rep()andtar_map_rep_raw()for dynamic batched replication within static branching for data frames (#78). - Implement
tar_map2_count(),tar_map2_count_raw(),tar_map2_size(), andtar_map2_size_raw()for batched dynamic-within-static branching for data frames (#78). - Deprecate
tar_rep_map()in favor oftar_rep2()to avoid name confusion. Likewise withtar_rep_map_raw()totar_rep2_raw()(#78).
- R
Published by wlandau about 4 years ago
tarchetypes - tar_map() edge case
tarchetypes 0.3.2
- Allow empty /
NULLtarget list intar_map()(@kkami1115). - Do not claim to support
"aws_file"format intar_files()or related target factories.
- R
Published by wlandau over 4 years ago
tarchetypes - Docs and consistency
tarchetypes 0.3.1
- Relax assertion on language objects for some target factories.
- Explain
targetstimestamps correctly in the help files oftar_age()andtar_cue_age().
- R
Published by wlandau over 4 years ago
tarchetypes - More resilient automatic names for tar_map() targets
tarchetypes 0.3.0
Invalidating changes
- When
names = NULLintar_map(), use hashes instead of numeric indexes for generated target names (#67). That way, target names are no longer sensitive to the order ofvalues, and so targets will incorrectly invalidate less often. Unfortunately, this is an invalidating change: some targets will automatically rerun after you install this version oftarchetypes. I apologize for the inconvenience this causes. However, we do need this patch in order to solve #67, and targets will incorrectly invalidate less frequently in the future.
Enhancements
- Migrate to utilities for error handling and metaprogramming exported from
targets(#59).
- R
Published by wlandau over 4 years ago
tarchetypes - tar_rep_map() and compat with logged skips
tarchetypes 0.2.1
Bug fixes
- Make the
*_raw()target factories processcommandthe same way whether it is an expression or ordinary language object. - Ensure compatibility with
targets0.5.0.9000, which logs skipped targets.
New features
- Add
tar_rep_map()andtar_rep_map_raw()to perform batched computation downstream oftar_rep()(#50). - Add
tar_select_names()andtar_select_targets()to make certain metaprogramming tasks easier. - In
tar_map(), attempt to convert the elements ofvaluesinto lists of language objects.
- R
Published by wlandau over 4 years ago
tarchetypes - Time stamps, downloads, format helpers, and hooks
tarchetypes 0.2.0
- Allow trailing commas in
tar_plan()(#40, @kendonB). - Implement
tar_age()based ontar_cue_age()(#39, @petrbouchal). - Implement new cue factories
tar_cue_age(),tar_cue_age_raw(),tar_cue_force(), andtar_cue_skip()(#39). - Implement
tar_download()(#38, @noamross, @petrbouchal) - Set intermediate temporary directory to remove race condition in
tar_render_rep()(#36, @gorgitko). - Prefix internal condition classes with "tar_".
- Add new format helpers such as
tar_aws_rds()andtar_parquet(). - Support hooks
tar_hook_before(),tar_hook_inner(), andtar_hook_outer()(#44). - Deep-copy the cue in
tar_map().
- R
Published by wlandau almost 5 years ago
tarchetypes - crayon in R Markdown
tarchetypes 0.1.1
- Unset
crayon.enabledfor literate programming. - Switch meaning of
%||%and%|||%to conform to historical precedent.
- R
Published by wlandau almost 5 years ago
tarchetypes - Data frame branching helpers
- Add new functions for easier grouping of data frames for dynamic branching:
tar_group_by(),tar_group_select(),tar_group_size(),tar_group_count()(#32, @liutiming). - In
tar_render()and related functions, track the*_files/output directory if it exists (#30). - Implement an external
walk_ast()function to make it easier for other developers to extend the static code analysis oftarchetypes(@MilesMcBain).
- R
Published by wlandau about 5 years ago
tarchetypes - CRAN pandoc hotfix
- Skip literate programming tests if pandoc is missing or has an insufficient version.
- Use explicit temp files in examples even when running inside
targets::tar_dir(). (targets::tar_dir()andtargets::tar_test()already run code in a temporary directory.) - Add comments in the examples to emphasize that
targets::tar_dir()runs code in a temporary directory, which means all ostensibly files created in the enclosed expression will actually be written to temporary storage and not the user's file space.
- R
Published by wlandau about 5 years ago
tarchetypes - CRAN hotfix
- Skip all
knitr/rmarkdowntests on Solaris in order to fix the problems shown on the CRAN check page. - Use explicit temp files in examples even when running inside
targets::tar_dir(). (targets::tar_dir()andtargets::tar_test()already run code in a temporary directory.) - Add comments in the examples to emphasize that
targets::tar_dir()runs code in a temporary directory, which means all ostensibly files created in the enclosed expression will actually be written to temporary storage and not the user's file space.
- R
Published by wlandau about 5 years ago
tarchetypes - CRAN feedback
- Make sure every function with a help file in
man/has Rd-tags\valueand\arguments. - For every function with a help file in
man/, describe the return value in the\valueRd tag. For each function that returns a target object or list of target objects, the\valuetag now links to https://books.ropensci.org/targets/, the user manual where the purpose of target objects is explained, and https://books.ropensci.org/targets-design/, the design specification which documents the structure and composition of target objects. - Ensure that examples, vignettes, and test do not write to the home file space of the user. Anything that appears to write to the local file space is actually called inside
targets::tar_dir()ortargets::tar_test(), which run the code inside a temporary directory. - Ensure that no function defined in the
tarchetypespackage writes by default to the home file space of the user. The paths of all output files are controlled by non-tarchetypesfunctions that invoketarchetypes.
- R
Published by wlandau about 5 years ago
tarchetypes - First full release
tarchetypes 0.0.1
tar_plan()now returns a list of target objects rather than a pipeline object. Related: https://github.com/ropensci/targets/issues/253.
- R
Published by wlandau about 5 years ago