Skip to content

nchar returns integer(0) which can't be 'if'ed #634

@schloerke

Description

@schloerke

https://github.com/ropensci/plotly/blob/master/R/ggplotly.R#L66

p$title is NULL, which causes this if statement to fail.

Wrap in a if(!is.null(p$title)) ?

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