Can't install 'agricolae' package

Hi all,
I am new to R and I'm trying to install 'agricolae' package with no sucess. Can you please, help me?
Thank you!

install.packages("agricolae")
Installing package into ‘C:/Users/Nozes/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
dependency ‘questionr’ is not available
also installing the dependency ‘klaR’

There are binary versions available but the source versions are later:
binary source needs_compilation
klaR 0.6-14 0.6-15 FALSE
agricolae 1.3-1 1.3-3 FALSE

installing the source packages ‘klaR’, ‘agricolae’

trying URL 'https://cran.rstudio.com/src/contrib/klaR_0.6-15.tar.gz'
Content type 'application/x-gzip' length 294627 bytes (287 KB)
downloaded 287 KB

trying URL 'https://cran.rstudio.com/src/contrib/agricolae_1.3-3.tar.gz'
Content type 'application/x-gzip' length 654836 bytes (639 KB)
downloaded 639 KB

ERROR: dependency 'questionr' is not available for package 'klaR'

  • removing 'C:/Users/Nozes/Documents/R/win-library/3.4/klaR'
    In R CMD INSTALL
    Warning in install.packages :
    running command '"C:/PROGRA~1/R/R-34~1.4/bin/x64/R" CMD INSTALL -l "C:\Users\Nozes\Documents\R\win-library\3.4" C:\Users\Nozes\AppData\Local\Temp\RtmpENN9tU/downloaded_packages/klaR_0.6-15.tar.gz' had status 1
    Warning in install.packages :
    installation of package ‘klaR’ had non-zero exit status
    ERROR: dependency 'klaR' is not available for package 'agricolae'
  • removing 'C:/Users/Nozes/Documents/R/win-library/3.4/agricolae'
    In R CMD INSTALL
    Warning in install.packages :
    running command '"C:/PROGRA~1/R/R-34~1.4/bin/x64/R" CMD INSTALL -l "C:\Users\Nozes\Documents\R\win-library\3.4" C:\Users\Nozes\AppData\Local\Temp\RtmpENN9tU/downloaded_packages/agricolae_1.3-3.tar.gz' had status 1
    Warning in install.packages :
    installation of package ‘agricolae’ had non-zero exit status

I would recommend that you upgrade your R version.
You are running 3.4
and questionR dependency(v.074) requires R (≥ 3.5.0)

R4.0.3 is available at present

Problem solved!
Thank you!

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.