Reload an Installed Package
Description
Unloads a package if loaded, reinstalls it, and loads it again. Convenience function for the install-reload cycle during development.
Usage
1reload(path = ".", document = FALSE, quiet = TRUE)
Arguments
path: Path to package root directory.document: If TRUE and tinyrox is available, run tinyrox::document() before installing. Default FALSE.quiet: Logical. Suppress install output? Default TRUE.
Value
TRUE if successful (invisibly).
Examples
1reload() # Reinstall and reload current package
2reload(document = TRUE) # Document first (requires tinyrox)