[R-SIG-Mac]Installing Packages

Stefano Iacus jago@mclink.it
Wed, 19 Feb 2003 09:37:44 +0100


Please, look into "Description" file to see if the Built: field is 
present.

stefano

On Mercoledì, feb 19, 2003, at 07:50 Europe/Rome, David Richmond wrote:

> Hi,
> 	I am trying to install a package I created myself using the R CMD 
> INSTALL command. I have successfully installed other packages using 
> this command (in .tar.gz format). My own package is not gzipped, but 
> when I "sudo R CMD INSTALL /my/path/mypackage" it seems to install 
> perfectly well, and indeed when I run R (I'm using OS X 10.2.4, btw) 
> and do "library()" it lists my package along with all the others. I 
> can even "library(help=daver)" to see the description and index files 
> for my package. BUT, when I "library(daver)" to load the package, I 
> get the following error:
>
> Error: package daver was built for NA
> In addition: Warning message:
> package daver was built under R version 02-12-27
>
> and it doesn't see any of my functions.
>
> I believe that my package has all the required elements, description, 
> index, title, and an R folder with the source code in it. Why does my 
> package not work, have I missed something?
>
> Dave R.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@stat.math.ethz.ch
> http://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>