getRemoteHook: Get http Hook for Remote Repo

Description Usage Arguments Contact Author(s) See Also Examples

View source: R/getRemoteHook.R

Description

getRemoteHook returns http adress of the remote Repository. Then it can be used to download artifacts from the remote Repository.

Usage

1
2
3
getRemoteHook(repo = aoptions("repo"), user = aoptions("user"),
  branch = aoptions("branch"), subdir = aoptions("subdir"),
  repoType = aoptions("repoType"))

Arguments

repo

A character containing a name of a Git repository on which the Repository is archived.

user

A character containing a name of a Git user on whose account the repo is created.

branch

A character containing a name of Git Repository's branch on which the Repository is archived. Default branch is master.

subdir

A character containing a name of a directory on Git repository on which the Repository is stored. If the Repository is stored in main folder on Git repository, this should be set to subdir = "/" as default.

repoType

A character containing a type of the remote repository. Currently it can be 'github' or 'bitbucket'.

Contact

Bug reports and feature requests can be sent to https://github.com/pbiecek/archivist/issues

Author(s)

Przemyslaw Biecek, przemyslaw.biecek@gmail.com

See Also

Other archivist: Repository, Tags, %a%, addHooksToPrint, addTagsRepo, aformat, ahistory, alink, aoptions, archivist-package, areadLocal, aread, asearchLocal, asearch, asession, atrace, cache, copyLocalRepo, createLocalRepo, createMDGallery, deleteLocalRepo, getTagsLocal, loadFromLocalRepo, md5hash, removeTagsRepo, restoreLibs, rmFromLocalRepo, saveToLocalRepo, searchInLocalRepo, setLocalRepo, shinySearchInLocalRepo, showLocalRepo, splitTagsLocal, summaryLocalRepo, zipLocalRepo

Examples

1
2
3
4
5
## Not run: 
# objects preparation
getRemoteHook("graphGallery", "pbiecek")

## End(Not run)

archivist documentation built on Aug. 31, 2019, 5:05 p.m.