Learn R Programming

switchrGist (version 0.2.5)

publishManifest,PkgManifest,GistDest-method: publishManifest

Description

publish a manifest to Github in the form of a gist

Usage

# S4 method for PkgManifest,GistDest
publishManifest(
  manifest,
  dest,
  desc = "An R package manifest",
  fname = "manifest.rman",
  ...
)

# S4 method for SessionManifest,GistDest publishManifest( manifest, dest, desc = "An R seeding manifest", fname = "manifest.rman", ... )

Arguments

manifest

The manifest to be published

dest

a GistDest object

desc

description to apply to the Gist

fname

The name of the file to create within the gist.

...

unused

Value

the url to access the raw file within the gist.

References

Becker G, Barr C, Gentleman R, Lawrence M; Enhancing Reproducibility and Collaboration via Management of R Package Cohorts. Journal of Statistical Software, 81(1). 2017. doi: 10.18637/jss.v082.i01

Examples

Run this code
# NOT RUN {
man = libManifest()
gisturl = publishManifest(man, Gist())
# }

Run the code above in your browser using DataLab