Loaded packages

loaded_packages(pkg, verbose = TRUE)

Arguments

pkg

A package name.

verbose

Whether to print messages.

Details

It loads pkg into a new R session and collects which other packages are loaded by parsing the output from sessionInfo.

Value

A data frame.

Examples

loaded_packages("ComplexHeatmap")
#> Loading ComplexHeatmap to a new R session... 31 namespaces loaded.
#>              pkg       type loading_time
#> 1           grid   basePkgs        1.537
#> 2          stats   basePkgs        1.537
#> 3       graphics   basePkgs        1.537
#> 4      grDevices   basePkgs        1.537
#> 5          utils   basePkgs        1.537
#> 6       datasets   basePkgs        1.537
#> 7        methods   basePkgs        1.537
#> 8           base   basePkgs        1.537
#> 9       circlize loadedOnly        1.537
#> 10   matrixStats loadedOnly        1.537
#> 11     codetools loadedOnly        1.537
#> 12       IRanges loadedOnly        1.537
#> 13           png loadedOnly        1.537
#> 14        digest loadedOnly        1.537
#> 15       foreach loadedOnly        1.537
#> 16        crayon loadedOnly        1.537
#> 17        stats4 loadedOnly        1.537
#> 18 GlobalOptions loadedOnly        1.537
#> 19    doParallel loadedOnly        1.537
#> 20     S4Vectors loadedOnly        1.537
#> 21    GetoptLong loadedOnly        1.537
#> 22  RColorBrewer loadedOnly        1.537
#> 23         rjson loadedOnly        1.537
#> 24     iterators loadedOnly        1.537
#> 25      parallel loadedOnly        1.537
#> 26      compiler loadedOnly        1.537
#> 27          clue loadedOnly        1.537
#> 28    colorspace loadedOnly        1.537
#> 29  BiocGenerics loadedOnly        1.537
#> 30       cluster loadedOnly        1.537
#> 31         shape loadedOnly        1.537