Error when installing R-package “aquap2”

Hi,

I want to install the package "aquap2", but get always the following ERROR and warning message:

ERROR: dependency 'ChemometricsWithR' is not available for package 'aquap2'
* removing 'C:/Users/Wieland Lackinger/Documents/R/win-library/4.1/aquap2'
Warning message:
In i.p(...) :
  installation of package ‘C:/Users/WIELAN~1/AppData/Local/Temp/RtmpMB4wa3/file43806d81afb/aquap2_0.4.2.tar.gz’ had non-zero exit status

I used this code:

install.packages(c("devtools", "iterators"))

library(devtools)

install_github(repo="bpollner/aquap2", ref="latestPublic",  build_vignettes=FALSE, force=TRUE)

I would be very happy, if someone can give me a hint how to solve this problem!

All the best
Wieland

PS: I am very new with R and RStudio and therefore an absolute noob.

You are missing a package dependency, you have to install it first

remotes::install_github("rwehrens/ChemometricsWithR")

Also, please do not post screenshots, it is considered a bad practice here, post formatted code instead. Here is how to do it

First: thank you very much for answering that fast! I will try out your hint.
Second: sorry for the screenshot, I will deleate it and write it down in another way (as you suggested) for future readers.

Best
Wieland

This topic was automatically closed 7 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.