View source: R/upload_package.R
upload_package | R Documentation |
JFrog allows different ways of authentication as noted in JFrog's documentation. Here we rely on an API Key for a dedicated header or an access token in an authorization header.
upload_package( package_archive, jfrog_url, api_key = jfrog_api_key(), access_token = jfrog_access_token() )
package_archive |
Path to |
jfrog_url |
Base URL of the JFrog CRAN API. Note that if the URL of the CRAN is |
api_key |
JFrog API Key. |
access_token |
JFrog access token. |
If both api_key
and access_token
are supplied then access_token
is used.
The rationale is that this is the desired behavior in CI pipelines.
Response from httr::POST()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.