The goal of {jfrog} is to provide an interface to JFrog's CRAN.
{jfrog} is only on GitHub and can be installed using the remotes package with the command:
remotes::install_github("robertdj/jfrog")
There are a few functions in {jfrog}.
All interaction with JFrog requires authentication with either an API Key or an access token.
If you don't want to type supply this everytime {jfrog} looks in specific environment variables by default.
Check the documentation of jfrog_api_key
and jfrog_access_token
.
The function upload_package
is used to upload packages to JFrog's CRAN.
Tokens can be created with the function create_token
:
token <- jfrog::create_token("<jfrog_url>")
A valid token is required to create a new token. A token can be created with the web interface through "Edit Profile" in the top right corner -> "Identify Token".
I use a long-lived token to create short-lived tokens with create_token
.