Re: [R] Namespaces of imported packages

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Tue, 18 Nov 2008 18:56:04 +0100

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.



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. Received on Tue 18 Nov 2008 - 18:02:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Nov 2008 - 03:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive