[R] Namespaces of imported packages

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Nov 18 18:56:04 CET 2008

Hutchinson,David [PYR] wrote:
> Hi,
> I am trying to build an R package. My existing code makes use of the
> bitops and chron packages. So I have included statements to import
> required functionality into the NAMESPACE file using import(). When I
> run Rcmd build, and error is generated "Error: package 'bitops' does not
> have a name space"
> I exclude the import(bitops) statement from the NAMESPACE file and
> rebuild without error. I am just curious as to why I get an error when
> importing bitops into the namespace of the current build? Including
> chron package builds fine.

Obviously, your version of "chron" has a namespace while your version of 
"bitops" has not ....

Uwe Ligges

> Thanks in advance,
> Dave
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list