Package: drake 7.13.11

William Michael Landau

drake: A Pipeline Toolkit for Reproducible Computation at Scale

A general-purpose computational engine for data analysis, drake rebuilds intermediate data objects when their dependencies change, and it skips work when the results are already up to date. Not every execution starts from scratch, there is native support for parallel and distributed computing, and completed projects have tangible evidence that they are reproducible. Extensive documentation, from beginner-friendly tutorials to practical examples and more, is available at the reference website <https://docs.ropensci.org/drake/> and the online manual <https://books.ropensci.org/drake/>.

Authors:William Michael Landau [aut, cre], Alex Axthelm [ctb], Jasper Clarkberg [ctb], Kirill Müller [ctb], Ben Bond-Lamberty [ctb], Tristan Mahr [ctb], Miles McBain [ctb], Noam Ross [ctb], Ellis Hughes [ctb], Matthew Mark Strasiotto [ctb], Ben Marwick [rev], Peter Slaughter [rev], Eli Lilly and Company [cph]

drake_7.13.11.tar.gz
drake_7.13.11.zip(r-4.5)drake_7.13.11.zip(r-4.4)drake_7.13.11.zip(r-4.3)
drake_7.13.11.tgz(r-4.4-any)drake_7.13.11.tgz(r-4.3-any)
drake_7.13.11.tar.gz(r-4.5-noble)drake_7.13.11.tar.gz(r-4.4-noble)
drake_7.13.11.tgz(r-4.4-emscripten)drake_7.13.11.tgz(r-4.3-emscripten)
drake.pdf |drake.html
drake/json (API)
NEWS

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

Peer review:

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

Pkgdown:https://docs.ropensci.org

On CRAN:

data-sciencedrakehigh-performance-computingmakefilepeer-reviewedpipelinereproducibilityreproducible-researchropensciworkflow

11.42 score 1.3k stars 1 packages 1.7k scripts 1.5k downloads 3 mentions 236 exports 20 dependencies

Last updated 18 days agofrom:4832488766 (on main). Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 03 2024
R-4.5-winOKDec 03 2024
R-4.5-linuxOKDec 03 2024
R-4.4-winOKDec 03 2024
R-4.4-macOKDec 03 2024
R-4.3-winOKDec 03 2024
R-4.3-macOKDec 03 2024

Exports:all_ofanalysesanalysis_wildcardany_ofas_drake_filenameas_fileavailable_hash_algosbackendbind_plansbuild_drake_graphbuild_graphbuild_timesbuiltcache_namespacescache_pathcachedcached_plannedcached_unplannedcancelcancel_ifcheckcheck_plancleanclean_main_exampleclean_mtcars_examplecleaned_namespacescmq_buildcode_to_functioncode_to_planconfigconfigure_cachecontainsdataframes_graphdataset_wildcarddebug_and_rundefault_graph_titledefault_long_hash_algodefault_Makefile_argsdefault_Makefile_commanddefault_parallelismdefault_recipe_commanddefault_short_hash_algodefault_system2_argsdefault_verbosedependency_profiledeprecate_wildcarddepsdeps_codedeps_knitrdeps_profiledeps_profile_impldeps_targetdeps_target_impldeps_targetsdiagnosedo_preworkdoc_of_function_calldrake_batchtools_tmpl_filedrake_builddrake_build_impldrake_cachedrake_cache_logdrake_cache_log_filedrake_cancelleddrake_configdrake_debugdrake_donedrake_envirdrake_exampledrake_examplesdrake_faileddrake_gcdrake_get_session_infodrake_ggraphdrake_ggraph_impldrake_graph_infodrake_graph_info_impldrake_historydrake_hpc_template_filedrake_hpc_template_filesdrake_metadrake_palettedrake_plandrake_plan_sourcedrake_progressdrake_quotesdrake_runningdrake_scriptdrake_sessiondrake_slicedrake_stringsdrake_tempfiledrake_tipdrake_unquoteends_withevaluateevaluate_planeverythingexample_drakeexamples_drakeexpandexpand_planexpose_importsfailedfile_infile_outfile_storefind_cachefind_knitr_docfind_projectfrom_planfuture_buildgathergather_bygather_planget_cacheget_traceid_chrignoreimportedin_progressis_function_callisolate_exampleknitr_depsknitr_inlast_collegend_nodesload_basic_exampleload_main_exampleload_mtcars_exampleloaddlong_hashmakemake_implmake_importsmake_targetsmake_with_configMakefile_recipemanage_memorymap_planmatchesmax_useful_jobsmigrate_drake_projectmissedmissed_implnew_cacheno_depsnum_rangeone_ofoutdatedoutdated_implparallel_stagesparallelism_choicesplanplan_analysesplan_drakeplan_summariesplan_to_codeplan_to_notebookplot_graphpredict_load_balancingpredict_runtimepredict_runtime_implpredict_workerspredict_workers_implprocess_importprogressprune_drake_graphr_deps_targetr_drake_buildr_drake_ggraphr_drake_graph_infor_maker_missedr_outdatedr_predict_runtimer_predict_workersr_recipe_wildcardr_recoverabler_sankey_drake_graphr_text_drake_graphr_vis_drake_graphrate_limiting_timesread_configread_drake_configread_drake_graphread_drake_metaread_drake_planread_drake_seedread_graphread_planread_tracereaddrecover_cacherecoverablerecoverable_implreduce_byreduce_planrender_drake_ggraphrender_drake_graphrender_graphrender_sankey_drake_graphrender_static_drake_graphrender_text_drake_graphrescue_cachers_addin_loaddrs_addin_r_makers_addin_r_outdatedrs_addin_r_vis_drake_graphrunningsankey_drake_graphsankey_drake_graph_implsessionshell_fileshort_hashshow_sourcestarts_withstatic_drake_graphsubtargetssummariestargettarget_namespacestext_drake_graphtext_drake_graph_implthis_cachetrackedtransform_plantriggertriggerstype_sum.expr_listuse_drakevis_drake_graphvis_drake_graph_implwhich_cleanworkflowworkplan

Dependencies:backportsbase64urlclicpp11digestfilelockglueigraphlatticelifecyclemagrittrMatrixpkgconfigR6rlangstorrtidyselecttxtqvctrswithr

Readme and manuals

Help Manual

Help pageTopics
drake: A pipeline toolkit for reproducible computation at scale.drake-package drake
Row-bind together drake plans *[Stable]*bind_plans
See the time it took to build each target. *[Stable]*build_times
List targets in the cache. *[Stable]*cached
List targets in both the plan and the cache. *[Stable]*cached_planned
List targets in the cache but not the plan. *[Stable]*cached_unplanned
Cancel a target mid-build *[Stable]*cancel
Cancel a target mid-build under some condition *[Stable]*cancel_if
Invalidate and deregister targets. *[Stable]*clean
Clean the mtcars example from 'drake_example("mtcars")' *[Stable]*clean_mtcars_example
Turn a script into a function. *[Stable]*code_to_function
Turn an R script file or 'knitr' / R Markdown report into a 'drake' plan. *[Questioning]*code_to_plan
List the dependencies of a function or command *[Stable]*deps_code
Find the drake dependencies of a dynamic knitr report target. *[Stable]*deps_knitr
Find out why a target is out of date. *[Stable]*deps_profile
List the dependencies of a target *[Stable]*deps_target
Get diagnostic metadata on a target. *[Stable]*diagnose
Build/process a single target or import. *[Questioning]*drake_build
Get the cache of a 'drake' project. *[Stable]*drake_cache
Get the state of the cache. *[Stable]*drake_cache_log
List cancelled targets. *[Stable]*drake_cancelled
Ending of _drake.R for r_make() and friends *[Stable]*drake_config
Run a single target's command in debug mode.' *[Questioning]*drake_debug
List done targets. *[Stable]*drake_done
Get the environment where drake builds targets *[Questioning]*drake_envir
Download the files of an example 'drake' project. *[Stable]*drake_example
List the names of all the drake examples. *[Stable]*drake_examples
List failed targets. *[Stable]*drake_failed
Do garbage collection on the drake cache. *[Stable]*drake_gc
Session info of the last call to 'make()'. *[Stable]*drake_get_session_info
Visualize the workflow with 'ggraph'/'ggplot2' *[Stable]*drake_ggraph
Prepare the workflow graph for visualization *[Stable]*drake_graph_info
History and provenance *[Stable]*drake_history
Write a template file for deploying work to a cluster / job scheduler. *[Stable]*drake_hpc_template_file
List the available example template files for deploying work to a cluster / job scheduler. *[Stable]*drake_hpc_template_files
Create a drake plan for the 'plan' argument of 'make()'. *[Stable]*drake_plan
Show the code required to produce a given 'drake' plan *[Stable]*drake_plan_source
Get the build progress of your targets *[Stable]*drake_progress
List running targets. *[Stable]*drake_running
Write an example _drake.R script to the current working directory.drake_script
Take a strategic subset of a dataset. *[Stable]*drake_slice
drake tempfile *[Stable]*drake_tempfile
Declare input files and directories. *[Stable]*file_in
Declare output files and directories. *[Stable]*file_out
Show a file's encoded representation in the cache *[Stable]*file_store
Search up the file system for the nearest drake cache. *[Stable]*find_cache
Name of the current target *[Stable]*id_chr
Ignore code *[Stable]*ignore
Declare 'knitr'/'rmarkdown' source files as dependencies. *[Stable]*knitr_in
Create the nodes data frame used in the legend of the graph visualizations. *[Soft-deprecated]*legend_nodes
Load the mtcars example. *[Stable]*load_mtcars_example
Run your project (build the outdated targets). *[Stable]*make
Report any import objects required by your drake_plan plan but missing from your workspace or file system. *[Stable]*missed
Make a new 'drake' cache. *[Stable]*new_cache
Suppress dependency detection. *[Stable]*no_deps
List the targets that are out of date. *[Stable]*outdated
Turn a 'drake' plan into a plain R script file. *[Questioning]*plan_to_code
Turn a 'drake' plan into an R notebook. *[Questioning]*plan_to_notebook
Predict the elapsed runtime of the next call to 'make()' for non-staged parallel backends. *[Stable]*predict_runtime
Predict the load balancing of the next call to 'make()' for non-staged parallel backends. *[Stable]*predict_workers
Launch a drake function in a fresh new R process *[Stable]*r_deps_target r_drake_build r_drake_ggraph r_drake_graph_info r_make r_missed r_outdated r_predict_runtime r_predict_workers r_recoverable r_sankey_drake_graph r_text_drake_graph r_vis_drake_graph
Read the pseudo-random number generator seed of the project. *[Stable]*read_drake_seed
Read a trace of a dynamic target. *[Stable]*read_trace
Read and return a drake target/import from the cache. *[Stable]*loadd readd
List the most upstream _recoverable_ outdated targets. *[Stable]*recoverable
Visualize the workflow with 'ggplot2'/'ggraph' using 'drake_graph_info()' output. *[Stable]*render_drake_ggraph
Render a visualization using the data frames generated by 'drake_graph_info()'. *[Stable]*render_drake_graph
Render a Sankey diagram from 'drake_graph_info()'. *[Stable]*render_sankey_drake_graph
Show a workflow graph as text in your terminal window using 'drake_graph_info()' output. *[Stable]*render_text_drake_graph
Try to repair a drake cache that is prone to throwing 'storr'-related errors. *[Questioning]*rescue_cache
Show a Sankey graph of your drake project. *[Stable]*sankey_drake_graph
Show how a target/import was produced. *[Stable]*show_source
List sub-targets *[Stable]*subtargets
Customize a target in 'drake_plan()'. *[Stable]*target
Show a workflow graph as text in your terminal window. *[Stable]*text_drake_graph
List the targets and imports that are reproducibly tracked. *[Stable]*tracked
Transform a plan *[Stable]*transform_plan
Transformations in 'drake_plan()'. *[Stable]*combine cross group map split transformations
Customize the decision rules for rebuilding targets *[Stable]*trigger
Use drake in a project *[Questioning]*use_drake
Show an interactive visual network representation of your drake project. *[Stable]*vis_drake_graph
Which targets will 'clean()' invalidate? *[Stable]*which_clean