[R] building R-package under windows - error - in options("deafultPackages") was not found

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Dec 23 12:17:56 CET 2006



Daniel Berg wrote:
> Dear all,
> 
> I have been building R packages under windows on my old pc, successfully.
> Now I have bought a new pc, still running windows, and I am trying to build
> the same R packages as before, but now without the same success. I have
> installed the Rtools, perl, mingw and added them to the environment
> variables.
> I am running Windows XP Professional on a Thinkpad T60. I have installed
> R-2.4.1, ActivePerl 5.8.8 Build 819, MinGW 5.1.2, and I downloaded
> tools.zipfrom
> http://www.murdoch-sutherland.com/Rtools.
> 
> I receive the following error message:
> 
> $ Rcmd build --binary copulaGOF/
> * checking for file 'mypackage/DESCRIPTION' ... OK
> * preparing 'copulaGOF' :
> * checking DESCRIPTION meta-information ... ERROR

Looks like something is wrong with your DESCRIPTION file. Can you send 
us the contents of that file?

Uwe Ligges


> During startup - Warning messages :
> ' in: library(package, lib.loc = lob.loc, character.only = TRUE, logical =
> TRUE,
>  in options("defaultPackages") was not found
> 
> In my package I have included a zzz.r file that contains the following,
> perhaps this is the cause?
> .First.lib <-function (lib, pkg)   {
>     library(adapt)
>     library(copula)
>     library(fBasics)
>     library(mvtnorm)
>     runif(1)
>     library.dynam("mypackage", package="mypackage")
> }
> 
> Any help or comments is most welcome. Thank you.
> 
> Best wishes,
> Daniel Berg
> -----
> danielberg.no
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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