sourceGithub: Source R files from github

View source: R/sourceWeb.R

sourceGithubR Documentation

Source R files from github

Description

sources R files from github

Usage

sourceGithub(githubPath, lines = NULL, branch = "master")

Arguments

githubPath

character. username/repository/pathToFile. Lines to excecute can be provided with github's #L1-L5 syntax. The function doesn't work with files that have ? # [ or ] in their addresses.

branch

which branch to source from

line

numbers to excecute. Providing lines in both here and with githubPath will result in an error.

See Also

loadURL, sourceGithub


oganm/ogbox documentation built on Feb. 18, 2024, 12:37 a.m.