clauswilke / dviz.supp Goto Github PK
View Code? Open in Web Editor NEWSupporting materials for Claus Wilke's data visualization book
License: MIT License
Supporting materials for Claus Wilke's data visualization book
License: MIT License
Hi Claus,
Your DESCRIPTION
file reads says you're compatible w/ R>=3.3.0, but installation from CRAN says package ‘dviz.supp’ is not available (for R version 3.4.1)
. It is generally my understanding that 4>3, so this error isn't clear. The current R version is also 3.4.3, so I'm even a little behind.
Thoughts here?
-Stephanie
Reproducible error when running R 4.1.1 and all libraries updated to current release:
> library(dviz.supp)
> tech_stocks
Error: Corrupt `grouped_df` using old (< 0.8.0) format.
i Strip off old grouping with `ungroup()`.
Run `rlang::last_error()` to see where the error occurred.
Per https://rdrr.io/cran/dplyr/src/R/grouped-df.r, looks like dplyr will throw this error when a grouped data frame has the vars
attribute and not the groups
attribute. Running attributes(tech_stocks)
affirms this. It looks like it may be grouped by the ticker
variable?
This may be resolved by regrouping rdas in this package using the latest code?
This error prevents compilation of Fundamentals of Data Visualization, which is different than what is said in #1 (comment). Searching the repository for tech_stocks
turns up several hits: https://github.com/clauswilke/dataviz/search?q=tech_stocks
Hi
would you please provide installation instructions? Thank you in advance
I tried this:
library(devtools) devtools::install_github("wilkelab/cowplot") install.packages("colorspace", repos = "http://R-Forge.R-project.org") devtools::install_github("clauswilke/colorblindr") devtools::install_github("clauswilke/dviz.supp")
However, i got the following error message when trying to install dviz.supp
** byte-compile and prepare package for lazy loading
Note: possible error in 'ggdraw(p, clip = clip)': unused argument (clip = clip)
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘dviz.supp’:
.onAttach failed in attachNamespace() for 'dviz.supp', details:
call: NULL
error: 'set_null_device' is not an exported object from 'namespace:cowplot'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/dviz.supp’
Installation failed: Command failed (1)
I'm running on macOS 10.13, RStudio 1.1.453, and R 3.5.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.