[R-SIG-Mac]Installing Packages

David Richmond daver969@yahoo.com
Tue, 18 Feb 2003 22:50:48 -0800


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.