Geom not exported? #989
Closed
Geom not exported? #989
Comments
@hadley Here is an example where I derived from |
I was just waiting for someone to ask for them ;) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
Thanks for the help at https://github.com/hadley/ggplot2/wiki/Creating-a-new-geom .
The link to sample code breaks, so I harvested code from the page and added
ggplot(data=data.frame(x=5,y=5,angle=pi/6,length=0.2),mapping=aes(x=x,y=y,angle=angle,length=length)) + layer(geom='field')
.I had to change
Geom
toggplot2:::Geom
apparently because Geom is not exported. Will that survive modern CRAN check? Also, my example above givesError: attempt to apply non-function
. It would be very useful to author new geoms for use with particular data types. Thanks in advance for any comments.The text was updated successfully, but these errors were encountered: