Cannot manually install a package

Hi, I am having a little bit of difficulty installing a package that I need for a project. It is a package by Maclean et al (2018) and I have tried to install it but the following message appears? Does anybody have any ideas? I really appreciate any pointers. Thank you so much in advance.

Tools > Install packages ... > Install from: Package Archive File
> Package archive: the zip file
> Install to Library: (my default folder for R)

Package here:

install.packages("C:/Users/madar/Downloads/", repos = NULL, type = "win.binary")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

Installing package into ‘C:/Users/madar/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
cannot open compressed file 'microclima-1.0.0/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

This seems to be your problem. You need to install Rtools

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.