if (FALSE) {
# objects preparation
showLocalRepo(method = "md5hashes",
repoDir = system.file("graphGallery", package = "archivist"))
showLocalRepo(method = "tags",
repoDir = system.file("graphGallery", package = "archivist"))
# Remote version
showRemoteRepo(method = "md5hashes", user = "pbiecek", repo = "archivist")
showRemoteRepo(method = "tags", user = "pbiecek", repo = "archivist", branch = "master")
# many archivist-like Repositories on one Remote repository
showRemoteRepo( user="MarcinKosinski", repo="Museum", branch="master",
subdir="ex1")
showRemoteRepo( user="MarcinKosinski", repo="Museum", branch="master",
subdir="ex2")
## Remote options
showRemoteRepo('archivist', 'pbiecek')
aoptions('user', 'pbiecek')
aoptions('repo', 'archivist')
loadFromRemoteRepo("ff575c261c", value = TRUE) -> iris123
showRemoteRepo('Museum', 'MarcinKosinski', subdir = 'ex1')
aoptions('repo', 'Museum')
aoptions('user', 'MarcinKosinski')
aoptions('subdir', 'ex1')
aoptions('branch', 'master')
showRemoteRepo()
showRemoteRepo(subdir = 'ex2')
aoptions('subdir')
}
Run the code above in your browser using DataLab