Comments (6)
Can you give a reproducible example along with output from sessionInfo()
from ggthemr.
My apologies, I'm pretty new to this. Below is the example that produces the warning described in my first comment. sessionInfo() is also included. Thanks immensely!
> library(ggplot2)
> library(ggthemr)
> ggthemr("pale", spacing = 2)
Warning messages:
1: `panel.margin` is deprecated. Please use `panel.spacing` property instead
2: `legend.margin` must be specified using `margin()`. For the old behavior use legend.spacing
3: New theme missing the following elements: axis.title.x.top, axis.title.y.right, axis.text.x.top, axis.text.y.right, legend.spacing.x, legend.spacing.y, legend.box.margin, legend.box.background, legend.box.spacing, panel.spacing.x, panel.spacing.y, plot.subtitle, plot.caption, strip.placement
> sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggthemr_1.0.2 ggplot2_2.1.0.9001
loaded via a namespace (and not attached):
[1] colorspace_1.2-7 scales_0.4.0.9003 lazyeval_0.2.0 plyr_1.8.4 assertthat_0.1 tools_3.3.0 gtable_0.2.0
[8] tibble_1.2 Rcpp_0.12.7 grid_3.3.0 munsell_0.4.3
from ggthemr.
I don't see any issues on my side. You are using a older version of ggplot2. Can you upgrade it to the latest stable version, 2.2.1 and check? Here is my sessionInfo():
> library(ggplot2)
> library(ggthemr)
> ggthemr("pale", spacing = 2)
> sessionInfo()
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggthemr_1.0.2 ggplot2_2.2.1
loaded via a namespace (and not attached):
[1] colorspace_1.3-2 scales_0.4.1 assertthat_0.1 lazyeval_0.2.0 plyr_1.8.4 tools_3.3.2 gtable_0.2.0 tibble_1.2
[9] Rcpp_0.12.9 grid_3.3.2 munsell_0.4.3
from ggthemr.
I updated ggplot2 and I am still seeing that same warning:
> library(ggplot2)
> library(ggthemr)
> ggthemr("pale", spacing = 2)
> sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggthemr_1.0.2 ggplot2_2.2.1
loaded via a namespace (and not attached):
[1] colorspace_1.2-7 scales_0.4.1 assertthat_0.1 lazyeval_0.2.0 plyr_1.8.4 tools_3.3.0 gtable_0.2.0 tibble_1.2
[9] Rcpp_0.12.7 grid_3.3.0 munsell_0.4.3
Warning messages:
1: R graphics engine version 11 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
2: package ‘ggplot2’ was built under R version 3.3.2
3: `panel.margin` is deprecated. Please use `panel.spacing` property instead
4: `legend.margin` must be specified using `margin()`. For the old behavior use legend.spacing
5: New theme missing the following elements: axis.title.x.top, axis.title.y.right, axis.text.x.top, axis.text.y.right, legend.spacing.x, legend.spacing.y, legend.box.margin, legend.box.background, legend.box.spacing, panel.spacing.x, panel.spacing.y, plot.subtitle, plot.caption, strip.placement
from ggthemr.
Can you re-install the ggthemr? You may have an older version. Also, seems like you need to upgrade RStudio as well.
from ggthemr.
I re-installed ggthemr and the warning went away. Waiting for admin approval at work to update RStudio :-/.
Thanks for your help!
from ggthemr.
Related Issues (20)
- Update swatches only HOT 4
- New theme elements in ggplot2 3.0 HOT 1
- It can not install HOT 8
- Licensing question HOT 3
- Missing theme elements in ggplot2 3.1 HOT 4
- Installation not available for 3.5.3 HOT 1
- Having trouble installing HOT 2
- release date planned? HOT 1
- Add topic: ggplot2-themes HOT 1
- Cannot install HOT 17
- Citation HOT 1
- ggthemr_reset() does not work
- Error: Unknown colour name HOT 8
- Change colors without set theme HOT 1
- Cannot change swatch colors using ggthemr()
- What is the text family? HOT 2
- Can't make custom palette HOT 1
- DESCRIPTION file states UTF-8 encoding, but uses ANSI codeset
- define_pallette not working for colours HOT 4
- ggthemr_reset() cannot be completely cleared HOT 2
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 ggthemr.