Published April 19, 2019
| Version v7.2.0
Software
Open
ropensci/drake: Improved visuals
Creators
- 1. Eli Lilly and Company @EliLillyCo
- 2. PNNL/UMD
- 3. Indiana Commission for Higher Education
- 4. Queensland Fire and Emergency Services
- 5. University of California at Berkeley Agricultural and Resource Economics
- 6. University of Zürich
- 7. Capital One
- 8. Generali China AMC @GCAMC
- 9. LECA Grenoble
- 10. NIES
- 11. University of Jena, Department of GIScience
- 12. @ropensci @lockedata
- 13. Human Predictions LLC
Description
Version 7.2.0
drake
version 7.2.0 is being released early in order to ensure compatibility with development testthat
, re https://github.com/ropensci/drake/issues/849.
- In the DSL (e.g.
drake_plan(x = target(..., transform = map(...)))
avoid inserting extra dots in target names when the grouping variables are character vectors (#847). Target names come out much nicer this way, but those name changes will invalidate some targets (i.e. they need to be rebuilt withmake()
).
- Use
config$jobs_preprocess
(local jobs) in several places wheredrake
was incorrectly usingconfig$jobs
(meant for targets). - Allow
loadd(x, deps = TRUE, config = your_config)
to work even ifx
is not cached (#830). Required disablingtidyselect
functionality whendeps
TRUE
. There is a new note in the help file about this, and an informative console message prints out onloadd(deps = TRUE, tidyselect = TRUE)
. The default value oftidyselect
is now!deps
. - Minor: avoid printing messages and warnings twice to the console (#829).
- Ensure compatibility with
testthat
>= 2.0.1.9000.
- In
drake_plan()
transformations, allow the user to refer to a target's own name using a special.id_chr
symbol, which is treated like a character string. - Add a
transparency
argument todrake_ggraph()
andrender_drake_ggraph()
to disable transparency in the rendered graph. Useful for R installations without transparency support.
- Use a custom layout to improve node positions and aspect ratios of
vis_drake_graph()
anddrake_ggraph()
displays. Only activated invis_drake_graph()
when there are at least 10 nodes distributed in both the vertical and horizontal directions. - Allow nodes to be dragged both vertically and horizontally in
vis_drake_graph()
andrender_drake_graph()
. - Prevent dots from showing up in target names when you supply grouping variables to transforms in
drake_plan()
(#847). - Do not keep
drake
plans (drake_plan()
) insidedrake_config()
objects. When other bottlenecks are removed, this will reduce the burden on memory (re #800). - Do not retain the
targets
argument insidedrake_config()
objects. This is to reduce memory consumption. - Deprecate the
layout
anddirection
arguments ofvis_drake_graph()
andrender_drake_graph()
. Direction is now always left to right and the layout is always Sugiyama. - Write the cache log file in CSV format (now
drake_cache.csv
by default) to avoid issues with spaces (e.g. entry names with spaces in them, such as "file report.Rmd")`.
Files
ropensci/drake-v7.2.0.zip
Files
(1.2 MB)
Name | Size | Download all |
---|---|---|
md5:1cc35181ae59fb1d85506a83abe99c2e
|
1.2 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ropensci/drake/tree/v7.2.0 (URL)