Error in loading Agricolae package - General - RStudio

I've tried to load agricolae and had the following error message:

library(agricolae)
Erreur : package or namespace load failed for ‘agricolae’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
aucun package nommé ‘questionr’ n'est trouvé

I've tried to install questionr. It didn't work.
Thanks!

You need to be more specific, What is the error message you get when you try to install the missing dependency?

Hi,

Below is a copy of the screen:

  • installing source package 'agricolae' ...
    ** package 'agricolae' correctement d�compress� et sommes MD5 v�rifi�es
    ** R
    ** data
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
    there is no package called 'questionr'
    ERROR: lazy loading failed for package 'agricolae'
  • removing 'C:/Users/Sylvie/Documents/R/win-library/3.5/agricolae'
    In R CMD INSTALL

The downloaded source packages are in
'C:\Users\Sylvie\AppData\Local\Temp\RtmpkfJtFx\downloaded_packages'

<U+2714> Package 'agricolae' successfully installed.
Warning message:
In utils::install.packages("agricolae", repos = "https://cran.rstudio.com/") :
installation of package 'agricolae' had non-zero exit status

That is the error message you get when you try to install agricolae but you already know that the issue is with the missing package dependency (i.e. questionr), what I need to see is the error message you get when you try to install questionr`.

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.