View source: R/EnvironmentSnapshot.R
| insertEnvironmentSnapshotInPackage | R Documentation | 
Store snapshot of the R environment in the package
insertEnvironmentSnapshotInPackage( rootPackage, pathToCsv = "inst/settings/rEnvironmentSnapshot.csv" )
| rootPackage | The name of the root package | 
| pathToCsv | The path for saving the snapshot (as CSV file). | 
This function records all versions used in the R environment that are used by one root package, and
stores them in a CSV file in the R package that is currently being developed. The default location
is inst/settings/rEnvironmentSnapshot.csv.This can be used for example to restore the
environment to the state it was when a particular study package was run using the
restoreEnvironment function.
## Not run: 
insertEnvironmentSnapshotInPackage("OhdsiRTools")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.