Client for 'GoFigr.io'
Creates an object representing a relationship between a figure and an ...
Performs JWT authentication with username and password. Saves tokens i...
Calculates a checksum for a file
Default cat method for GoFigr revisions.
Checks whether GoFigr has been correctly configured.
Default path to the config file
Create a new analysis within a workspace.
Creates a new API key. This function will only succeed if using passwo...
Creates a new asset revision
Creates a new asset
Create a new figure under an analysis.
Creates a list of arguments for ggplot2::ggsave() with optional dimens...
Creates a new revision
Create a new workspace.
List of data types supported by GoFigr
Returns a default value if argument is null or empty
Delete an analysis by API ID.
Enables GoFigr in the current R/Rmd file.
Converts a GoFigr data object into R primitives that can be converted ...
Find an analysis by name, optionally creating it.
Finds an asset by name
Finds all asset revisions with a matching hash digest
Finds the .gofigr config file in current directory or any of the paren...
Find a figure by name within an analysis.
Find a workspace by name, optionally creating it.
Fetch an analysis by API ID.
Returns obj$api_id if argument is an object, or identity if it's a str...
Gets an asset revision given an API ID
Fetches an asset given an API ID.
Gets the currently configured GoFigr client
Retrieves a data object. Use in conjunction with get_revision or get_a...
Gets the execution context: input path, chunk code, and other metadata...
Fetch a single figure by API ID.
Gets configured GoFigr options.
Generates a QR code and converts it into an img element.
Gets the full URL for a revision
Fetches a revision given an API ID.
Gets a title from a plot
Retrieve workspace details.
Plots and publishes an object (if supported)
Prints and publishes an object (if supported)
Interactive configuration helper for the GoFigr R client.
Generates a div container for the GoFigr widget.
Defines a GoFigr plot area.
Creates a Shiny component to handle plotting and publishing. Has to be...
Applies a watermark to a plot object/function.
Equivalent to cat but only outputs if GoFigr client is verbose.
Creates and configures a GoFigr client. You can login either using a u...
Wrapper for httr::DELETE that automatically handles authentication.
Wrapper for httr::GET that automatically handles authentication.
Wraps an HTTR method e.g. GET to provide relative URL resolution and a...
Wrapper for httr::PATCH that automatically handles authentication.
Wrapper for httr::POST that automatically handles authentication.
Wrapper for httr::PUT that automatically handles authentication.
Resolve the workspace argument, falling back to the client's default.
Wraps a plotting function (e.g. plot) so that its output is intercepte...
Returns True if the response indicates an expired JWT token
Checks whether GoFigr intercept is on
Draws a watermark with just a GoFigr link
List analyses within a workspace.
List all workspaces available to the authenticated user.
Prompts the user for an API key or interactively creates a new one.
Prompts the user for username and password and logs into GoFigr.
Creates a GoFigr data object storing source code
Creates a GoFigr data object storing file data
Creates a GoFigr data object storing image data
Creates a GoFigr data object which can be attached to revisions.
Creates a GoFigr data object storing data.frame/tabular data
Creates a GoFigr data object to store text
Creates a new asset revision from file.
Does not draw any watermarks.
Default print method for GoFigr revisions.
Default print method for a GoFigr client.
Captures output from grid graphics (ggplot2, lattice, ComplexHeatmap, ...
Publishes a figure to the GoFigr service.
Draws a watermark with a GoFigr link and a QR code
Reads the GoFigr configuration, prioritizing environment variables ove...
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service and stores a reference. The file ...
Reads a line from stdin with optional validation and retry logic.
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service and stores a reference. The file ...
Refreshes the JWT access token. Attempts re-authentication if refresh ...
Convenience function for parsing JSON from httr responses
Sets GoFigr options.
Stacks images horizontally, centering them vertically.
Stacks images vertically, centering them horizontally.
Suppresses any automatic GoFigr publication hooks.
Syncs a file with the GoFigr service and stores a reference. The file ...
Syncs a file with the GoFigr service
Tries to convert expression to a grob, returning it unchanged if it fa...
Updates data associated with a figure
Fetches user details for the currently logged in user.
Makes a watermark generator. You can use the result with enable(waterm...
Executes an expression while isolating any new graphics devices it cre...
Integrates with your 'RMarkdown' documents to automatically publish figures to the <https://GoFigr.io> service. Supports both 'knitr' and interactive execution within 'RStudio'.