Skip to content

Help needed with successfully downloading and opening Agricolae package

6 messages · Phillips,Douglas A, Jeff Newmiller, Sarah Goslee +1 more

#
Hi, I just downloaded the Agricolae package and tried to access it using the commands listed below (and received the error messages in red).  Any suggestions on resolving these errors?

Thanks for your assistance.

Doug
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100  896k  100  896k    0     0   900k      0 --:--:-- --:--:-- --:--:--  900k

The downloaded binary packages are in
/var/folders/qn/8tc0v1m971d361gv0mwsmxj80000gn/T//RtmpYMZ97k/downloaded_packages
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
  there is no package called ?sp?
Error: package or namespace load failed for ?agricolae?
#
This is a plain-text email list, so your red doesn't show up, but
since the error message said that the installer couldn't find the sp
package, I'd start by installing that.

Sarah
On Fri, May 6, 2016 at 12:35 PM, Phillips,Douglas A <dal64372 at ufl.edu> wrote:
#
I am puzzled why the original install.packages call did not also download the sp package, since the default argument dependencies = NA should have triggered installation of imports including spDep, which should in turn have installed the dependencies including the sp package. Anyone have a theory?
#
On Fri, May 6, 2016 at 4:33 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
Any hypothesis would require more information, sessionInfo() at a very minimum.
#
I think you need to set dependencies=TRUE to make the checks recursive.
#
Thanks Sarah, downloaded the sp package separately and that resolved the error.