R version 4.1.0
Options tried listed in https://github.com/hrbrmstr/cloc
Error: Failed to install 'cloc' from Git:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
The system cannot find the path specified.
R version 4.1.0
Options tried listed in https://github.com/hrbrmstr/cloc
Error: Failed to install 'cloc' from Git:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
The system cannot find the path specified.
specifically what error arises when you attempt to install it ?
Error: Failed to install 'cloc' from Git:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
The system cannot find the path specified.
You haven't said, but my assumption would be that this is when you tried via remotes
.
Is it a different / same error when you try via install.packages ?
I personally install everything via renv these days. to try that do install.packages("renv")
and then
renv::install("hrbrmstr/cloc")
Do you have RTools installed?
You'll need this to be able to build the package on Windows if you are installing direct from github.
I tried installing on my laptop via {remotes} and it installed successfully.
remotes::install_github("hrbrmstr/cloc")
Yes, it was the same error. I will try renv. Thanks
Yes, RTool is installed.
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.