I got following error whie executing the code.
Code:install.packages("ithir", repos="http://R-Forge.R-project.org")
Error:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/cloud-user/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
installing the source package ‘ithir’
trying URL 'http://R-Forge.R-project.org/src/contrib/ithir_1.0.tar.gz'
Content type 'application/x-gzip' length 4534681 bytes (4.3 MB)
downloaded 4.3 MB
* installing *source* package 'ithir' ...
** using staged installation
** R
** data
** byte-compile and prepare package for lazy loading
Error: objects 'ripras', 'as.ppp', 'delaunay' are not exported by 'namespace:spatstat'
Execution halted
ERROR: lazy loading failed for package 'ithir'
* removing 'C:/Users/cloud-user/AppData/Local/R/win-library/4.2/ithir'
Warning in install.packages :
installation of package ‘ithir’ had non-zero exit status
I was trying to install a package ithir.