sourceRepoFile-methods: Methods for Function 'sourceRepoFile' in Package...

Description Methods Value See Also

Description

sourceRepoFile takes a file from a github repository and sources the file into the global environment (unless specified otherwise via ... options passed to source())

Methods

signature(repository = "character", repositoryPath = "character", ...)
repository, ...

name of repository, in the form of /owner/repo, which is passed to getRepo along with optional arguments ref and refName - resulting githubRepo object is passed along with repositoryPath back to sourceRepoFile method below.

signature(repository = "githubRepo", repositoryPath = "character")
repository

timepoint of repository specified by an object of class githubRepo

repositoryPath

path within the repository of the file to be sourced - must be a valid path in the repository (repository@tree$path)

...

optional arguments to be passed to source() - especially local = <environment> in order to source files into a specified <environment>

Value

output from all files sourced

See Also

getPermlink, githubRepo, getRepo, view


brian-bot/rGithubClient documentation built on May 13, 2019, 5:12 a.m.