Published December 10, 2018
| Version v6.2.0
Software
Open
ropensci/drake: Faster, leaner, and compatible with tibble 2.0.0
Authors/Creators
- 1. Eli Lilly and Company @EliLillyCo
- 2. Indiana Commission for Higher Education
- 3. PNNL/UMD
- 4. University of California at Berkeley Agricultural and Resource Economics
- 5. University of Zürich
- 6. MIT
- 7. Generali China AMC @GCAMC
- 8. LECA Grenoble
- 9. University of Jena, Department of GIScience
Description
New features
- Add a
separgument togather_by(),reduce_by(),reduce_plan(),evaluate_plan(),expand_plan(),plan_analyses(), andplan_summaries(). Allows the user to set the delimiter for generating new target names. - Expose a
hasty_buildargument tomake()anddrake_config(). Here, the user can set the function that builds targets in "hasty mode" (make(parallelism = "hasty")). - Add a new
drake_envir()function that returns the environment wheredrakebuilds targets. Can only be accessed from inside the commands in the workflow plan data frame. The primary use case is to allow users to remove individual targets from memory at predetermined build steps.
- Ensure compatibility with
tibble2.0.0. - Stop returning
0sfrompredict_runtime(targets_only = TRUE)when some targets are outdated and others are not. - Remove
sort(NULL)warnings fromcreate_drake_layout(). (Affects R-3.3.x.)
- Large speed boost: reduce repeated calls to
parse()incode_dependencies(). - Large speed boost: change the default value of
memory_strategy(previouslypruning_strategy) to"speed"(previously"lookahead"). - Compute a special data structure in
drake_config()(config$layout) just to store the code analysis results. This is an intermediate structure between the workflow plan data frame and the graph. It will help clean up the internals in future development. - Improve memoized preprocessing: deparse all the functions in the environment so the memoization does not react so spurious changes in R internals. Related: #345.
- Use the
labelargument tofuture()insidemake(parallelism = "future"). That way , job names are target names by default ifjob.nameis used correctly in thebatchtoolstemplate file. - Remove strict dependencies on packages
dplyr,evaluate,fs,future,magrittr,parallel,R.utils,stats,stringi,tidyselect, andwithr. - Remove package
rprojrootfrom "Suggests". - Deprecate the
forceargument in all functions exceptmake()anddrake_config(). - Change the name of
prune_envir()tomanage_memory(). - Deprecate and rename the
pruning_strategyargument tomemory_strategy(make()anddrake_config()). - Print warnings and messages to the
console_log_filein real time (#588). - Use HTML line breaks in
vis_drake_graph()hover text to display commands in thedrakeplan more elegantly. - Speed up
predict_load_balancing()and remove its reliance on internals that will go away in 2019 via #561. - Remove support for the
workercolumn ofconfig$planinpredict_runtime()andpredict_load_balancing(). This functionality will go away in 2019 via #561. - Change the names of the return value of
predict_load_balancing()totimeandworkers. - Bring the documentation of
predict_runtime()andpredict_load_balancing()up to date. - Deprecate
drake_session()and rename todrake_get_session_info(). - Deprecate the
timeoutargument in the API ofmake()anddrake_config(). A value oftimeoutcan be still passed to these functions without error, but only theelapsedandcpuarguments impose actual timeouts now.
Files
ropensci/drake-v6.2.0.zip
Additional details
Related works
- Is supplement to
- https://github.com/ropensci/drake/tree/v6.2.0 (URL)