This is a simple wrapper for reload(inst(pkgName)

reloadByName(pkgName = "tsiMisc")

Arguments

pkgName

name (or a vector of names) of R package(s) to be reloaded

Examples

library(MASS) reloadByName('MASS')
#> reloading MASS
#> Reloading attached MASS
#> unloadNamespace("MASS") not successful, probably because another loaded package depends on it. Forcing unload. If you encounter problems, please restart R.
# or without quotes as reloadByName(MASS)
#> reloading MASS
#> Reloading attached MASS
#> unloadNamespace("MASS") not successful, probably because another loaded package depends on it. Forcing unload. If you encounter problems, please restart R.