Skip to content

plot_id should be ugd_id in documentation #252

@barryrowlingson

Description

@barryrowlingson

The example in Roxygen here uses plot_id()

#' hgd_url(plot_id(), width = 800, height = 600)

but the correct function appears to be ugd_id() from the unigd package, as mentioned in the Roxygen arguments:

endpoint: API endpoint. The default, ‘"live"’ is the HTML/JS plot
          viewer. Can be set to a numeric plot index or plot ID (see
          ‘unigd::ugd_id()’) to obtain the direct URL to the SVG.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions