install_local(path, subdir = NULL, ...)
install
## Not run: # dir <- tempfile() # dir.create(dir) # pkg <- download.packages("testthat", dir, type = "source") # install_local(pkg[, 2]) # ## End(Not run)
Run the code above in your browser using DataCamp Workspace