Date: 2018-02-12
Version: 0.1.2
Type: Package
Title: Library Snapshot for Packages and Dependencies in Use by Current Session
Maintainer: Peter Meissner <retep.meissner@gmail.com>
Description: Generate a local library copy with relevant packages. All packages currently found within the search path - except base packages - will be copied to the directory provided and can be used later on with the .libPaths() function.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 6.0.1
Imports: utils
URL: https://github.com/petermeissner/librarysnapshot
BugReports: https://github.com/petermeissner/librarysnapshot/issues
Suggests: covr, testthat
NeedsCompilation: no
Packaged: 2018-02-12 20:43:54 UTC; peter
Author: Peter Meissner [aut, cre]
Repository: CRAN
Date/Publication: 2018-02-13 09:34:24 UTC

library_snapshot

Description

Make a local copy of the currently used packages within the session from the currently used library.

Usage

library_snapshot(path = NULL)

Arguments

path

path to which to copy packages to; if NULL

Value

Returns the paths from which packages were copied

Examples

## Not run: 


library_snapshot()

library_snapshot(path = tempdir())



## End(Not run)



package_dependencies

Description

package_dependencies

Usage

package_dependencies(pkg, env = NULL, dependency_type = c("depends",
  "imports", "linkingto"))

Arguments

pkg

the package to resolve dependencies for

env

an environment to store results in, is primarily used for recursion

dependency_type

the dependency types to include, e.g. "depends", "imports", "linkingto", "suggests" – will leave out suggests by default


session_dependencies

Description

session_dependencies

Usage

session_dependencies(exclude_base = TRUE)

Arguments

exclude_base

should base and recommended packages be excluded from dependencies?