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