Skip to contents

pkg_search_attached() returns the packages a bare ?topic can see: every attached package, in search path order, followed by the base packages that are always available. This is the default search set for topic_find().

pkg_search_base() returns the base packages that are always searched.

Usage

pkg_search_attached()

pkg_search_base()

Value

A character vector of package names.

Examples

pkg_search_attached()
#>  [1] "rdtools"   "stats"     "graphics"  "grDevices" "utils"     "datasets" 
#>  [7] "methods"   "base"      "tools"     "grid"      "splines"   "stats4"   
#> [13] "tcltk"     "compiler"  "parallel" 
pkg_search_base()
#>  [1] "base"      "tools"     "utils"     "grDevices" "graphics"  "stats"    
#>  [7] "datasets"  "methods"   "grid"      "splines"   "stats4"    "tcltk"    
#> [13] "compiler"  "parallel"