I am working with the R programming language.
I am interested in trying to download the following R package: https://cran.r-project.org/web/packages/osmar/index.html
When I open this page, it tells me that this R package has been removed.
My Question: I was wondering if there is a recommended way of downloading packages in such situations.
Doing some reading, I came across two methods:
Method 1:
require(devtools)
install_version("osmar", version = "1.1-7", repos = "http://cran.r-project.org")
Method 2:
install.packages("path/to/osmar_1.1-7.tar.gz", repos = NULL, type = "source")
Is there an ideal way to proceed in this situation?
Thanks!
References: