-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with example #150
Comments
Second on this. When i run an example first time it is ok. Running it second time (no changes) show the error: library(hexSticker)
#> Warning: package 'hexSticker' was built under R version 4.1.3
library(ggplot2)
outfile <- tempfile(fileext=".png")
s <- sticker(~plot(cars, cex=.5, cex.axis=.5, mgp=c(0,.3,0), xlab="", ylab=""),
package="X", p_size=20, s_x=.8, s_y=.6, s_width=1.4, s_height=1.2,
filename=outfile)
#> Warning: Using ragg device as default. Ignoring `type` and `antialias` arguments
outfile <- tempfile(fileext=".png")
s <- sticker(~plot(cars, cex=.5, cex.axis=.5, mgp=c(0,.3,0), xlab="", ylab=""),
package="X", p_size=20, s_x=.8, s_y=.6, s_width=1.4, s_height=1.2,
filename=outfile)
#> Warning: Using ragg device as default. Ignoring `type` and `antialias` arguments
#> Warning in editThisGrob(grob, specs): slot 'vp' not found
#> Warning in editThisGrob(grob, specs): slot 'name' not found
#> Error in UseMethod("validGrob"): no applicable method for 'validGrob' applied to an object of class "NULL" Created on 2022-06-15 by the reprex package (v2.0.1) Problem is only with base graph. lattice/ggplot2 works. |
same issue using base R graphic plots. Example in README file still does not work. Any solution? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When I try to run the examples, I get this error message.
What should I do ?
Thanks in advance
The text was updated successfully, but these errors were encountered: