"Roels, Steven" <[EMAIL PROTECTED]> writes: > Hello, > > I have a very minimal package "simplepkg" (DESCRIPTION, NAMESPACE, and > R) with S4 classes/methods (defines a class "foo" and a show method for > that class" - both the class and show method are exported). I can > seemingly install the package, then load and use it: > > Error: package/namespace load failed for 'simplepkg' > Call sequence: > 2: stop(gettextf("package/namespace load failed for '%s'", > libraryPkgName(package)), > call. = FALSE, domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = > FALSE) > Execution halted
> > Here are the file contents: > ------------------------------- > > sun890% cat DESCRIPTION > Package: simplepkg > Type: Package > Title: Does stuff > Version: 0.1-1 > Date: 2006-06-06 > Author: Me > Maintainer: Also Me <[EMAIL PROTECTED]> > Description: Does interesting stuff > License: GPL Try adding LazyLoad: yes to DESCRIPTION (or SaveImage: yes). ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html