I know that you can install .tar.gz or .zip from the source using the following.
install.packages(SOURCE_FILE, repos = NULL, type="source")
I want to be able to determine the name of the package to be installed. So, for example, we could download this amazing package: https://github.com/Dasonk/findPackage/tarball/master?download .
This will give us .tar.gz called Dasonk-findPackage-61907b1.tar.gz. We could rename it to beep.tar.gzand still set as:
install.packages("beep.tar.gz", repos=NULL, type="source")
How to get the actual name of the package that was installed. I thought I could use it capture.output, but that doesn't work either. Therefore, after use, install.packagesI would like to know what has "findPackage"just been installed.
source
share