-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Imports:
dependency no longer sufficient for dependent package plotting
#663
Comments
Restart with a clean session? |
I think this happens when you run |
After restarting with fresh sessions, trying different IDEs, trying an explicit
This error occurs when using a standard call to one of the custom ggplot2-based plot functions in my package, phyloseq, which has been using ggplot2 as an On some level, I'm okay with making phyloseq users fully load ggplot2, because it gets them that much closer to adding their own customizations to their graphics and using other features of ggplot2. On the other hand, it means adding a lot more "space junk" that wasn't at as much risk of colliding with the So while I think I've found a fix that might even be good for my particular case, I'm wondering
Thanks for not immediately closing the issue. I should have narrowed the problem better before the original question post. |
That's a bug and we just pushed a fix to cran. |
The following was my the first stage problem after getting stuck fixing an error from
R CMD check mypkg
; after updating some of the ways in which custom ggplot2 graphics are produced in mypkg. However, after trying some simple fixes suggested by Hadley and Winston, this superficial bug disappeared to reveal a namespace issue no reflected in the title of this issue tracker post."
Why does this appear when trying to plot/render a ggplot object using v0.9.2?
Default print/show/plot for ggplot object now results in a prompt:
rather than just rendering the graphic.
That is,
show(p)
used to be indistinguishable fromprint(p)
, and both would automatically produce a graphic on the default graphic device. Nowshow(p)
et al result in the above prompt. Unfortunately, this is stalling some of my ggplot2-dependent function examples. I have not seen this in previous versions."
Note that the
print(p)
problem could be fixed withlibrary(ggplot2)
, and that this was one of the indications of the namespace change in v0.9.2 of ggplot2.The text was updated successfully, but these errors were encountered: