library_snapshot: library_snapshot

Description Usage Arguments Value Examples

View source: R/library_snapshot.R

Description

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

Usage

1
2
library_snapshot(path = NULL, write_list = TRUE, copy.mode = TRUE,
  exclude_base = TRUE)

Arguments

path

path to which to copy packages to; if NULL

write_list

adds package information csv-file to path; needs path to be set

copy.mode

passed through to file.copy

exclude_base

should 'base' R packages be excluded or not

Value

Returns the paths from which packages were copied

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 


library_snapshot()

library_snapshot(path = tempdir())



## End(Not run)

petermeissner/librarysnapshot documentation built on May 28, 2019, 3:13 p.m.