Error when installing R-package “aquap2”


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"))


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

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


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.


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.