saveload: Backwards compatible load utility

Description Usage Arguments Examples

Description

Load a repository serialized to an R code file

serialize a repository to a file so that it does not require GRANBase to load

Usage

1
2
3
loadRepo(filename)

saveRepo(repo, filename)

Arguments

filename

The file to load

repo

The GRANRepository object to save

Examples

1
2
3
4
repo = GRANRepository(GithubManifest("gmbecker/rpath"), basedir = tempdir())
fil = file.path(tempdir(), "repo.R")
saveRepo(repo, fil)
repo2 = loadRepo(fil)

GRANCore documentation built on Feb. 4, 2020, 5:06 p.m.

Related to saveload in GRANCore...