setRepo: Set Default Repository

Description Usage Arguments Details Author(s) See Also Examples

View source: R/setRepo.R

Description

setRepo sets default path to the Repository. It might be a local repo (directory) GitHub repo (read only) or remote one. For all archivist2 functions if repo = NULL then the default repo is used.

Usage

1
2
setRepo(localDir = NULL, remoteRepo = NULL, githubUser = NULL,
  githubRepo = NULL, githubBranch = "master", githubDir = "")

Arguments

localDir

A path to existing directory with Reposiotry.

remoteRepo

A http:// or https:// addres of script that accepts POST and GET requests.

githubUser

For github repository it's a github user name.

githubRepo

For github repository it's a github repository name.

githubBranch

For github repository it's a github branch (by default master).

githubDir

For github repository it's a github direcotry (by default global).

Details

See examples.

Author(s)

Przemyslaw Biecek, przemyslaw.biecek_at_gmail.com,

See Also

https:// github.com/pbiecek/archivist2/wiki Other archivist2: createRepo; readFromRepo; writeToRepo

Examples

1
2
3
4
5
## Not run: 
# examples
# TODO: create examples or move from archivist

## End(Not run)

pbiecek/archivist2 documentation built on May 24, 2019, 10:36 p.m.