parse_repository_spec: Parse the repository specification in the column "Repo" in...

View source: R/configuration.R

parse_repository_specR Documentation

Parse the repository specification in the column "Repo" in the register CSV file

Description

Based roughly on ['remotes::parse_one_extra'](https://github.com/r-lib/remotes/blob/master/R/deps.R#L519)

Usage

parse_repository_spec(x)

Arguments

x

the repository specification to parse

Details

Supported variants:

- 'osf::ABC12' - 'github::codecheckers/Piccolo-2020' - 'gitlab::cdchck/Piccolo-2020'

Value

a named character vector with the items 'type' and 'repo'

Author(s)

Daniel NĂ¼st


codecheckers/codecheck documentation built on Dec. 6, 2024, 7:38 p.m.