I just downloaded the newest version of R, and I keep getting the following error when trying to install the motus package. Does anyone have any thoughts on this? Thanks!
Warning in install.packages :
packages ‘motus’, ‘motusData’ are not available for this version of R
Versions of these packages for your version of R might be available elsewhere,
see the ideas at
[https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages](https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages)
Warning in install.packages :
unable to access index for repository [https://birdscanada.r-universe.dev/bin/windows/contrib/4.2](https://birdscanada.r-universe.dev/bin/windows/contrib/4.2):
cannot open URL '[https://birdscanada.r-universe.dev/bin/windows/contrib/4.2/PACKAGES](https://birdscanada.r-universe.dev/bin/windows/contrib/4.2/PACKAGES)'
I have responded separately to you earlier. For others, we are looking into this problem.
In the interim, if you are experiencing the same problem, could you try to install the package directly from github as follow. I have not yet tested whether this will work however:
I am having the same problem with downloading the motus package with my version of R (4.3.2). I tried to download it from the github as suggested above. I was unable to do that. It seems to be related to a problem with maptools. Any help you could provide would be much appreciated!
ERROR: dependency ‘maptools’ is not available for package ‘motus’ * removing ‘C:/Users/zoemi/AppData/Local/R/win-library/4.3/motus’ Warning message: In i.p(…) : installation of package ‘C:/Users/zoemi/AppData/Local/Temp/RtmpwnWcZQ/file521c33332959/motus_6.0.1.tar.gz’ had non-zero exit status
I’ve found a quick and dirty solution that works for now. The maptools package has been removed from CRAN, but previous versions of the package are available in the archive. The latest release (1.1-8) can still be downloaded from https://cran.r-project.org/src/contrib/Archive/maptools/. I was able to install the motus package from github after installing the downloaded package. If you are using Rstudio, you can do this by clicking the “Install” button in the Packages pane, selecting “Package Archive File (zip; .tar.gz)” from the “Install from:” dropdown, and browsing to find the downloaded maptools package.