Comments (8)
it may work if load ggplot2 before you install/update it but that might not be possible with devtools::update_packages()
if you use dev versions of ggplot2.
i'm trying to compensate for an error in the way ggplot2 specifies function links.
I do: https://github.com/hrbrmstr/hrbrthemes/blob/master/R/scales.r#L13 to avoid having to replicate the docs in ggplot2 scales but b/c of https://github.com/tidyverse/ggplot2/blob/4255cd8341ad1072036186e5d34ad2c1b12221b3/R/scale-discrete-.r#L12 it fails miserably. I'm not inclined to replicate the scales docs, but i agree this def needs to be kept open since this won't get to CRAN the way I've got it.
i was avoiding just making a local "alias" for the ggplot2 function b/c then i have to declare all the stuff i use from ggplot2 but that may make more sense now due to this issue.
i'll poke at it and really appreciate this report as i wld not have seen it on my end.
from hrbrthemes.
I just pushed up what I'm hoping is a quick fix (as I didn't get any errors on my end and the README + test suite works fine). Give it a go when you get a chance pls.
from hrbrthemes.
Thanks for the quick response. This results in a different error: 'expand_scale' is not an exported object from 'namespace:ggplot2'
. This occurs immediately after ** preparing package for lazy loading
, whereas before, devtools would install the help and vignettes, and then error out at ** testing if installed package can be loaded
. Let me know if there's any other information that would be useful.
from hrbrthemes.
This is super helpful. Are you running CRAN ggplot2 or GH? I think the issue is it's exported in GH ggplot2 (https://github.com/tidyverse/ggplot2/blob/master/NAMESPACE#L275) but not CRAN ggplot2
from hrbrthemes.
ok, i bit the bullet and just reproduced the roxygen docs. can you give it a go(as you have time) and also make sure i got your details right in the DESCRIPTION file? (this has been rly rly helpful and I'd like to add you as a contributor)
from hrbrthemes.
Yes, running CRAN ggplot2. Reproducing the oxygen docs seems to have worked; installation is successful, and the package loads as expected. Out of curiosity, what made you decide to reproduce, rather than require GH ggplot2?
Thanks again for responding so quickly, and for offering to list me as a contributor. Yes, details are correct. 👍
from hrbrthemes.
from hrbrthemes.
Glad it was helpful. I really appreciate you making it so easy to make great looking plots!
from hrbrthemes.
Related Issues (20)
- Dark (FT) Roboto RMarkdown template
- Install errors HOT 2
- More thorough font installation/config documentation & helpers HOT 5
- The example charts contain a different fill than the defaults HOT 1
- Gridlines and Grid Labels are Out of Alignment HOT 1
- Gridlines and Axis Labels are Out of Alignment HOT 1
- theme_ipsun fonts not working HOT 1
- Dot Plots in hrbrthemes HOT 5
- Error: lazy-load database ... hrbrthemes.rdb' is corrupt HOT 2
- Unable to export to pdf for some fonts HOT 1
- Broken image gallery HOT 1
- theme_modern_rc() overwrites default point color HOT 1
- supporting applying `hrbrthemes` themes to labels in `ggplot2` HOT 1
- systemfonts package not gett HOT 2
- **CLOSE** Mac Change Font Family HOT 3
- Missing images on doc site? HOT 1
- gdtools dependency/suggests no more needed HOT 1
- hrbrthemes::theme_ipsum_rc(), issue HOT 2
- Change to new cran checks badge URL HOT 1
- Found a typo in pkgdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hrbrthemes.