[Rd] Dependencies problem

robin hankin hankin.robin at gmail.com
Thu Feb 17 06:41:58 CET 2011


Dear List

I am developing a package which needs another package purely
for one of the datasets it uses.

What is Best Practice for doing this?  Simply including it in
the Dependencies: list in the DESCRIPTION file is giving
me curious errors from R CMD check or R CMD INSTALL:

Error in code2LazyLoadDB(package, lib.loc = lib.loc, keep.source =
keep.source,  :
  name space must not be loaded.
ERROR: lazy loading failed for package ‘MM’

This error seems to be system-dependent.  All of the depencies are
packages which
are on CRAN and AFAICS  pass R CMD check.

Can anyone advise?


-- 
Robin Hankin
Uncertainty Analyst
hankin.robin at gmail.com



More information about the R-devel mailing list