robertdj / jfrog

R package to interact with JFrog Artifactory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jfrog

R build status Codecov test coverage

The goal of {jfrog} is to provide an interface to JFrog's CRAN.

Installation

{jfrog} is only on GitHub and can be installed using the remotes package with the command:

remotes::install_github("robertdj/jfrog")

Usage

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.

Upload package

The function upload_package is used to upload packages to JFrog's CRAN.

Access tokens

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.

About

R package to interact with JFrog Artifactory

License:Other


Languages

Language:R 100.0%