fs_embed: Upload a figure to figshare and return the url

View source: R/fs_embed.R

fs_embedR Documentation

Upload a figure to figshare and return the url

Description

Upload a figure to figshare and return the url

Usage

fs_embed(file)

Arguments

file

path to an image file

Details

use with opts_knit$set(upload.fn = fs_embed)

Value

a url to the image file


ropensci/rfigshare documentation built on May 18, 2022, 6:34 p.m.