Help

tarchetypes-package

targets: Archetypes for Targets

Grouped data frame targets

tar_group_by()

Group a data frame target by one or more variables.

tar_group_count()

Group the rows of a data frame into a given number groups

tar_group_select()

Group a data frame target with tidyselect semantics.

tar_group_size()

Group the rows of a data frame into groups of a given size.

Literate programming targets

tar_knit()

Target with a knitr document.

tar_knit_raw()

Target with a knitr document (raw version).

tar_render()

Target with an R Markdown document.

tar_render_raw()

Target with an R Markdown document (raw version).

tar_render_rep()

Parameterized R Markdown with dynamic branching.

tar_render_rep_raw()

Parameterized R Markdown with dynamic branching (raw version).

Literate programming utilities

tar_knitr_deps()

List literate programming dependencies.

tar_knitr_deps_expr()

Expression with literate programming dependencies.

Formats

tar_url() tar_file() tar_rds() tar_qs() tar_keras() tar_torch() tar_format_feather() tar_parquet() tar_fst() tar_fst_dt() tar_fst_tbl() tar_aws_file() tar_aws_rds() tar_aws_qs() tar_aws_keras() tar_aws_torch() tar_format_aws_feather() tar_aws_parquet() tar_aws_fst() tar_aws_fst_dt() tar_aws_fst_tbl()

Target formats

Branching

tar_combine()

Static aggregation.

tar_combine_raw()

Static aggregation (raw version).

tar_map()

Static branching.

tar_rep()

Batched replication with dynamic branching.

tar_rep_raw()

Batched replication with dynamic branching (raw version).

tar_rep_map()

Batched computation downstream of tar_rep()

tar_rep_map_raw()

Batched computation downstream of tar_rep() (raw version)

Target selection

tar_select_names()

Select target names from a target list

tar_select_targets()

Select target objects from a target list

Dynamic branching over files

tar_files()

Easy dynamic branching over files or urls.

tar_files_raw()

Easy dynamic branching over files or urls (raw version).

tar_files_input()

Easy dynamic branching over known existing input files or urls.

tar_files_input_raw()

Easy dynamic branching over known existing files or urls (raw version).

Targets with custom invalidation rules

tar_age()

Create a target that runs when the last run gets old

tar_change()

Target that responds to an arbitrary change.

tar_download()

Target that downloads URLs.

tar_force()

Target with a custom condition to force execution.

tar_skip()

Target with a custom cancellation condition.

Cues

tar_cue_age()

Cue to run a target when the last output reaches a certain age

tar_cue_age_raw()

Cue to run a target when the last run reaches a certain age (raw version)

tar_cue_force()

Cue to force a target to run if a condition is true

tar_cue_skip()

Cue to skip a target if a condition is true

Hooks

tar_hook_before()

Hook to prepend code

tar_hook_inner()

Hook to wrap dependencies

tar_hook_outer()

Hook to wrap commands

Metaprogramming utilities

tar_eval()

Evaluate multiple expressions created with symbol substitution.

tar_eval_raw()

Evaluate multiple expressions created with symbol substitution (raw version).

tar_sub()

Create multiple expressions with symbol substitution.

tar_sub_raw()

Create multiple expressions with symbol substitution (raw version).

DSLs

tar_plan()

A drake-plan-like pipeline archetype