libManifest | R Documentation |
Create a Session- or PkgManifest for the contents of a switchr library.
libManifest( lib = currentCompEnv(), record_versions = TRUE, known_manifest = makeManifest(dep_repos = repos), repos = defaultRepos(), ... ) ## S4 method for signature 'missing' libManifest( lib = currentCompEnv(), record_versions = TRUE, known_manifest = makeManifest(dep_repos = repos), repos = defaultRepos(), ... ) ## S4 method for signature 'character' libManifest( lib = currentCompEnv(), record_versions = TRUE, known_manifest = makeManifest(dep_repos = repos), repos = defaultRepos(), ... ) ## S4 method for signature 'SwitchrCtx' libManifest( lib = currentCompEnv(), record_versions = TRUE, known_manifest = makeManifest(dep_repos = repos), repos = defaultRepos(), ... )
lib |
A SwitchrCtx object, or the name of a switchr library. Defaults to the currently active switchr library. |
record_versions |
Should the exact versions of installed packages be recorded in the manifest (TRUE) |
known_manifest |
An existing manifest, used when imputing
location information for packages not
installed via |
repos |
A vector of traditional package repositories. Used when imputing
location information for packages not installed via
|
... |
currently unused |
The manifest generated by this function will not include base packages, as they are part of R and not installable in the traditional sense.
man = libManifest() man ## Not run: man2 = libManifest("myotherlib") man2 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.