View source: R/orcid_icon_fetcher.R
orcid_icon_fetcher | R Documentation |
A simple wrapper for download.file
to download
the official ORCID icon for use in a repository with authenticated ORCID IDs.
orcid_icon_fetcher( repo, filename = "orcid.svg", url = "https://ndownloader.figshare.com/files/8439047", method = "auto", overwrite = FALSE, ... )
repo |
The repository root directory to save the file. |
filename |
Target filename. |
url |
The URL to fetch the SVG file from. |
method |
The download method to use,
see |
overwrite |
If |
... |
Further arguments to pass to |
The mode
argument is fixed to "wb" (binary) to ensure successful downloads
also on Windows systems.
## Not run: orcid_icon_fetcher("/tmp") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.