Skip to content

orca always requires mapbox token #1314

@hschult

Description

@hschult

Like the title says the problem is that the orca() function always throws an error that a mapbox token has to be assigned even if the given plot does not depend on mapbox.

I don't think a reprex is really needed but anyway:

Sys.unsetenv("MAPBOX_TOKEN")

p <- plot_ly(z = ~volcano) %>% add_surface()
orca(p, "surface-plot.svg")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions