Skip to content

Imports: dependency no longer sufficient for dependent package plotting #663

@joey711

Description

@joey711

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:

Hit <Return> to see next plot:

rather than just rendering the graphic.

That is, show(p) used to be indistinguishable from print(p), and both would automatically produce a graphic on the default graphic device. Now show(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 with library(ggplot2), and that this was one of the indications of the namespace change in v0.9.2 of ggplot2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions