installB | R Documentation |
Remove function objects from workspace and try to unload reverse dependencies.
Then call devtools::install
.
installB(
package = NA,
path = "C:/Dropbox/Rpack",
force = FALSE,
load = TRUE,
unloadrevdep = TRUE,
quiet = FALSE,
...
)
package |
Package name. DEFAULT: NA (interactive selection) |
path |
Path containing package folder. DEFAULT: "C:/Dropbox/Rpack" |
force |
Logical. Even install if the version is not outdated? DEFAULT: FALSE |
load |
Logical. Also call loadAndMessage? DEFAULT: TRUE |
unloadrevdep |
Try to unload some common reverse dependencies? DEFAULT: TRUE |
quiet |
Suppress messages? DEFAULT: FALSE |
... |
passed to |
Berry Boessenkool, berry-b@gmx.de, 2014 - 2023
packageDescription
, read.dcf
## Not run:
# Here's what you could write into your Rprofile.site:
# Loading Packages
try(br::loadPackages())
options(help_type="html")
# Set CRAN repository
local({r <- getOption("repos")
r["CRAN"] <- "https://cran.rstudio.com" # 0-cloud
options(repos=r)})
# create character string base::desktop
desktop <- "C:/Users/berry/Desktop" # linux "/home/berry/Desktop"
# Speed up package installation
# https://blog.jumpingrivers.com/posts/2017/speed_package_installation/
options(Ncpus = parallel::detectCores()-1 )
# if install.packages and download.files give HTTP status 403 forbidden:
options(url.method="libcurl")
## End(Not run) # end dontrun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.