Package: targets 1.7.1.9004

William Michael Landau

targets: Dynamic Function-Oriented 'Make'-Like Declarative Pipelines

Pipeline tools coordinate the pieces of computationally demanding analysis projects. The 'targets' package is a 'Make'-like pipeline tool for statistics and data science in R. The package skips costly runtime for tasks that are already up to date, orchestrates the necessary computation with implicit parallel computing, and abstracts files as R objects. If all the current output matches the current upstream code and data, then the whole pipeline is up to date, and the results are more trustworthy than otherwise. The methodology in this package borrows from GNU 'Make' (2015, ISBN:978-9881443519) and 'drake' (2018, <doi:10.21105/joss.00550>).

Authors:William Michael Landau [aut, cre], Matthew T. Warkentin [ctb], Mark Edmondson [ctb], Samantha Oliver [rev], Tristan Mahr [rev], Eli Lilly and Company [cph]

targets_1.7.1.9004.tar.gz
targets_1.7.1.9004.zip(r-4.5)targets_1.7.1.9004.zip(r-4.4)targets_1.7.1.9004.zip(r-4.3)
targets_1.7.1.9004.tgz(r-4.4-any)targets_1.7.1.9004.tgz(r-4.3-any)
targets_1.7.1.9004.tar.gz(r-4.5-noble)targets_1.7.1.9004.tar.gz(r-4.4-noble)
targets_1.7.1.9004.tgz(r-4.4-emscripten)targets_1.7.1.9004.tgz(r-4.3-emscripten)
targets.pdf |targets.html
targets/json (API)
NEWS

# Install 'targets' in R:
install.packages('targets', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ropensci/targets/issues

On CRAN:

data-sciencehigh-performance-computingmakepeer-reviewedpipeliner-targetopiareproducibilityreproducible-researchtargetsworkflow

219 exports 891 stars 9.02 score 31 dependencies 15 dependents 12.1k downloads

Last updated 15 hours agofrom:cfa4159b22 (on main)

Exports:all_ofany_ofcallr_args_defaultcontainsends_witheverythinglast_colmatchesnum_rangeone_ofrstudio_addin_tar_glimpserstudio_addin_tar_loadrstudio_addin_tar_make_bgrstudio_addin_tar_outdatedrstudio_addin_tar_progressrstudio_addin_tar_readrstudio_addin_tar_targetrstudio_addin_tar_visnetworkstarts_withtar_activetar_assert_chrtar_assert_dbltar_assert_dftar_assert_envirtar_assert_equal_lengthstar_assert_exprtar_assert_filetar_assert_finitetar_assert_flagtar_assert_functiontar_assert_function_argumentstar_assert_getar_assert_identicaltar_assert_intar_assert_inheritstar_assert_inttar_assert_internettar_assert_langtar_assert_letar_assert_lgltar_assert_listtar_assert_matchtar_assert_nametar_assert_namedtar_assert_namestar_assert_nonemptytar_assert_nonmissingtar_assert_not_dirtar_assert_not_dirstar_assert_not_exprtar_assert_not_intar_assert_nulltar_assert_nzchartar_assert_packagetar_assert_pathtar_assert_positivetar_assert_scalartar_assert_storetar_assert_targettar_assert_target_listtar_assert_truetar_assert_uniquetar_assert_unique_targetstar_backofftar_bindtar_branch_indextar_branch_namestar_branch_names_rawtar_branchestar_builttar_calltar_callr_args_defaulttar_callr_inner_trytar_canceltar_canceledtar_completedtar_condition_tracedtar_config_gettar_config_projectstar_config_settar_config_unsettar_config_yamltar_countertar_crewtar_cuetar_debug_instructionstar_deduplicatetar_definitiontar_deletetar_deparse_languagetar_deparse_safetar_depstar_deps_rawtar_described_astar_destroytar_dirtar_dispatchedtar_edittar_engine_knitrtar_envirtar_envvarstar_errortar_erroredtar_exist_metatar_exist_objectstar_exist_processtar_exist_progresstar_exist_scripttar_formattar_github_actionstar_glimpsetar_grouptar_helpertar_helper_rawtar_interactivetar_invalidatetar_loadtar_load_everythingtar_load_globalstar_load_rawtar_maketar_make_clustermqtar_make_futuretar_make_interactivetar_manifesttar_mermaidtar_messagetar_message_runtar_message_validatetar_metatar_meta_deletetar_meta_downloadtar_meta_synctar_meta_uploadtar_nametar_networktar_newertar_noninteractivetar_objectstar_oldertar_option_exporttar_option_gettar_option_resettar_option_settar_outdatedtar_pathtar_path_scripttar_path_script_supporttar_path_storetar_path_targettar_patterntar_pidtar_pipelinetar_polltar_printtar_processtar_progresstar_progress_branchestar_progress_summarytar_prunetar_prune_listtar_random_porttar_readtar_read_rawtar_renvtar_reprextar_resourcestar_resources_awstar_resources_clustermqtar_resources_crewtar_resources_custom_formattar_resources_feathertar_resources_fsttar_resources_futuretar_resources_gcptar_resources_networktar_resources_parquettar_resources_qstar_resources_urltar_runtime_objecttar_scripttar_seedtar_seed_createtar_seed_gettar_seed_settar_sitreptar_skippedtar_sourcetar_startedtar_storetar_targettar_target_rawtar_testtar_throw_filetar_throw_runtar_throw_validatetar_tidy_evaltar_tidyselect_evaltar_timestamptar_timestamp_rawtar_toggletar_tracebacktar_unscripttar_unversiontar_validatetar_visnetworktar_warn_deprecatetar_warn_runtar_warn_validatetar_warningtar_watchtar_watch_app_uitar_watch_servertar_watch_uitar_workspacetar_workspacestarget_run_workeruse_targetsuse_targets_rmd

Dependencies:backportsbase64urlcallrclicodetoolscpp11data.tableevaluatefansigluehighrigraphknitrlatticelifecyclemagrittrMatrixpillarpkgconfigprocessxpsR6rlangsecretbasetibbletidyselectutf8vctrswithrxfunyaml

An overview of targets

Rendered fromoverview.Rmdusingknitr::rmarkdownon Jul 26 2024.

Last update: 2023-06-26
Started: 2021-01-08

Readme and manuals

Help Manual

Help pageTopics
targets: Dynamic Function-Oriented Make-Like Declarative Pipelines for Rtargets-package
Show if the pipeline is running.tar_active
Assertionstar_assert tar_assert_chr tar_assert_dbl tar_assert_df tar_assert_envir tar_assert_equal_lengths tar_assert_expr tar_assert_file tar_assert_finite tar_assert_flag tar_assert_function tar_assert_function_arguments tar_assert_ge tar_assert_identical tar_assert_in tar_assert_inherits tar_assert_int tar_assert_internet tar_assert_lang tar_assert_le tar_assert_lgl tar_assert_list tar_assert_match tar_assert_name tar_assert_named tar_assert_names tar_assert_nonempty tar_assert_nonmissing tar_assert_not_dir tar_assert_not_dirs tar_assert_not_expr tar_assert_not_in tar_assert_null tar_assert_nzchar tar_assert_package tar_assert_path tar_assert_positive tar_assert_scalar tar_assert_store tar_assert_target tar_assert_target_list tar_assert_true tar_assert_unique tar_assert_unique_targets
Superseded: exponential backofftar_backoff
Integer branch indexestar_branch_index
Branch namestar_branch_names
Branch names (raw version)tar_branch_names_raw
Reconstruct the branch names and the names of their dependencies.tar_branches
Identify the called 'targets' function.tar_call
Cancel a target mid-execution under a custom condition.tar_cancel
List canceled targets.tar_canceled
List completed targets.tar_completed
Conditionstar_condition tar_error tar_message tar_message_run tar_message_validate tar_print tar_throw_file tar_throw_run tar_throw_validate tar_warning tar_warn_deprecate tar_warn_run tar_warn_validate
Get configuration settings.tar_config_get
List projects.tar_config_projects
Set configuration settings.tar_config_set
Unset configuration settings.tar_config_unset
Read _targets.yaml.tar_config_yaml
Get crew worker info.tar_crew
Declare the rules that cue a target.tar_cue
For developers only: get the definition of the current target.tar_definition
Delete target output values.tar_delete
Code dependenciestar_deps
Code dependencies (raw version)tar_deps_raw
Select targets using their descriptions.tar_described_as
Destroy the data store.tar_destroy
List dispatched targets.tar_dispatched
Open the target script file for editing.tar_edit
Target Markdown 'knitr' enginetar_engine_knitr
For developers only: get the environment of the current target.tar_envir
Show 'targets' environment variables.tar_envvars
List errored targets.tar_errored
Check if target metadata exists.tar_exist_meta
Check if local output data exists for one or more targets.tar_exist_objects
Check if process metadata exists.tar_exist_process
Check if progress metadata exists.tar_exist_progress
Check if the target script file exists.tar_exist_script
Define a custom target storage format.tar_format
Set up GitHub Actions to run a targets pipelinetar_github_actions
Visualize an abridged fast dependency graph.tar_glimpse
Group a data frame to iterate over subsets of rows.tar_group
Write a helper R script.tar_helper
Write a helper R script (raw version).tar_helper_raw
Run if Target Markdown interactive mode is on.tar_interactive
Delete one or more metadata records (e.g. to rerun a target).tar_invalidate
Languagetar_deparse_language tar_deparse_safe tar_language tar_tidyselect_eval tar_tidy_eval
Load the values of targets.tar_load
Load the values of all available targets.tar_load_everything
Load globals for debugging, testing, and prototypingtar_load_globals
Load the values of targets (raw version).tar_load_raw
Run a pipeline of targets.tar_make
Superseded. Run a pipeline with persistent 'clustermq' workers.tar_make_clustermq
Superseded. Run a pipeline of targets in parallel with transient 'future' workers.tar_make_future
Produce a data frame of information about your targets.tar_manifest
'mermaid.js' dependency graph.tar_mermaid
Read a project's metadata.tar_meta
Delete metadata.tar_meta_delete
download local metadata to the cloud.tar_meta_download
Synchronize cloud metadata.tar_meta_sync
Upload local metadata to the cloud.tar_meta_upload
Get the name of the target currently running.tar_name
Return the vertices and edges of a pipeline dependency graph.tar_network
List new targetstar_newer
Run if Target Markdown interactive mode is not on.tar_noninteractive
List saved targetstar_objects
List old targetstar_older
Get a target option.tar_option_get
Reset all target options.tar_option_reset
Set target options.tar_option_set
Check which targets are outdated.tar_outdated
Current target script pathtar_path_script
Directory path to the support scripts of the current target scripttar_path_script_support
Current data store pathtar_path_store
Identify the file path where a target will be stored.tar_path_target
Emulate dynamic branching.cross head map sample tail tar_pattern
Get main process ID.tar_pid
Repeatedly poll progress in the R console.tar_poll
Get main process info.tar_process
Read progress.tar_progress
Tabulate the progress of dynamic branches.tar_progress_branches
Summarize target progress.tar_progress_summary
Remove targets that are no longer part of the pipeline.tar_prune
List targets that 'tar_prune()' will remove.tar_prune_list
Read a target's value from storage.tar_read
Read a target's value from storage (raw version)tar_read_raw
Set up package dependencies for compatibility with 'renv'tar_renv
Reproducible example of 'targets' with 'reprex'tar_reprex
Target resourcestar_resources
Target resources: Amazon Web Services (AWS) S3 storagetar_resources_aws
Target resources: 'clustermq' high-performance computingtar_resources_clustermq
Target resources: 'crew' high-performance computingtar_resources_crew
Target resources for custom storage formatstar_resources_custom_format
Target resources: feather storage formatstar_resources_feather
Target resources: 'fst' storage formatstar_resources_fst
Target resources: 'future' high-performance computingtar_resources_future
Target resources: Google Cloud Platform (GCP) Google Cloud Storage (GCS)tar_resources_gcp
Target resources for network file systems.tar_resources_network
Target resources: parquet storage formatstar_resources_parquet
Target resources: qs storage formatstar_resources_qs
Target resources: URL storage formatstar_resources_url
Write a target script file.tar_script
Create a seed for a target.tar_seed_create
Get the random number generator seed of the target currently running.tar_seed_get
Set a seed to run a target.tar_seed_set
Show the cue-by-cue status of each target.tar_sitrep
List skipped targets.tar_skipped
Run R scripts.tar_source
Declare a target.tar_target
Define a target using unrefined names and language objects.tar_target_raw
Test code in a temporary directory.tar_test
Get the timestamp(s) of a target.tar_timestamp
Get the timestamp(s) of a target (raw version).tar_timestamp_raw
Choose code to run based on Target Markdown mode.tar_toggle
Get a target's tracebacktar_traceback
Remove target script helper files.tar_unscript
Delete cloud object version IDs from local metadata.tar_unversion
Validate a pipeline of targets.tar_validate
visNetwork dependency graph.tar_visnetwork
Shiny app to watch the dependency graph.tar_watch
Shiny module server for tar_watch()tar_watch_server
Shiny module UI for tar_watch()tar_watch_ui
Load a saved workspace and seed for debugging.tar_workspace
List saved target workspaces.tar_workspaces
Use targetsuse_targets
Use targets with Target Markdown.use_targets_rmd