[R]package dependence
Torsten Hothorn
Torsten.Hothorn at rzmail.uni-erlangen.de
Thu Feb 15 10:44:40 CET 2001
> Hi,
>
> I want to create several packages, with package Aa depending on functions
> in package A. My directories with .r and .Rd are organized as follows
>
> ./A/man/*.Rd
> ./A/R/*.r
> ./Aa/man/*.Rd
> ./Aa/R/*.r
>
> Afre creatin package A with
>
> R CMD check A
> R CMD INSTALL --library=lib A
>
> I then have
> ./lib/A/help etc
>
> If I try to do
>
> R CMD check Aa
> R CMD INSTALL --library=lib Aa
>
> I am getting
>
> * checking examples ... ERROR
> and in ./Aa.Rcheck/Aa-Ex.Rout
>
> there is the error signalled
>
> couldn't find function "function.from.A"
> Execution halted
as far as I know: use Aa/R/zzz.R to load A using
require(A)
Torsten
>
> Since I rather want to keep the packages separate, how can I deal with
> dependences among packages?
>
>
> Thanks for help.
> --christian
>
> Dr.sc.math.Christian W. Hoffmann
> Mathematics and Statistical Computing
> Landscape Modeling and Web Applications
> Swiss Federal Research Institute WSL
> Zuercherstrasse 111
> CH-8903 Birmensdorf, Switzerland
> phone: ++41-1-739 22 77 fax: ++41-1-739 22 15
> e-mail: Hoffmann at WSL.CH
> www: http://www.wsl.ch/staff/christian.hoffmann/
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list