separate_into_package_and_reference {githubinstall}R Documentation

The "repo" argument allows to contain "ref" as "package_name@ref", "package_name#pull" or "package_name[branch]". The function detects that "repo" contains "ref" and separates into pure repo and ref. If "repo" contains "ref" and "ref" argument is specified, the values in "repo" take precedence.

Description

The "repo" argument allows to contain "ref" as "package_name@ref", "package_name#pull" or "package_name[branch]". The function detects that "repo" contains "ref" and separates into pure repo and ref. If "repo" contains "ref" and "ref" argument is specified, the values in "repo" take precedence.

Usage

separate_into_package_and_reference(packages, original_ref)

Arguments

packages

"repo" argument.

original_ref

"ref" argument.


[Package githubinstall version 0.2.2 Index]