GuangchuangYu / GuangchuangYu/hexSticker
Problem with example
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 813
- Forks
- 179
- Avg merge
- 45m
- Merged PRs (30d)
- 1
Description
Hi,
When I try to run the examples, I get this error message.
What should I do ?
Thanks in advance
s <- sticker(~plot(cars, cex=.5, cex.axis=.5, mgp=c(0,.3,0), xlab="", ylab=""),
+ package="hexSticker", p_size=20, s_x=.8, s_y=.6, s_width=1.4, s_height=1.2,
+ filename="inst/figures/baseplot.png")
Error in UseMethod("validGrob") :
no applicable method for 'validGrob' applied to an object of class "NULL"
In addition: Warning messages:
1: Using ragg device as default. Ignoring `type` and `antialias` arguments
2: In editThisGrob(grob, specs) : slot 'vp' not found
3: In editThisGrob(grob, specs) : slot 'name' not found
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported example call using sticker(~plot(cars, ...), package="hexSticker", filename="inst/figures/baseplot.png") and inspect the validGrob error and accompanying warnings. Check whether the failure is tied to the example, the plotting object, or the graphics environment. Done means the example runs successfully and creates the expected baseplot.png without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100