Skip to content

Error when using plot on a psa object without reference strategy #198

Description

@evaenns

On the dev-mk branch, when trying to run the plot function on a psa object without specifying a reference strategy (e.g. plot(psa_obj) or plot(psa_obj, ref_str = NULL) ), receive this error message:

Error in p_data@data : 
  no applicable method for `@` applied to an object of class "ggplot_built"

Presumably issue is somewhere in the plot.psa function

dampack/R/psa.R

Line 149 in c3300ae

plot.psa <- function(x,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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