building R-package under windows - error - in options("deafultPackages") was not found
On Sat, 23 Dec 2006, Uwe Ligges wrote:
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?
I think rather with his R: the message below says 'During startup', and indicates that one of the default packages is missing. That would mean that it has not got to running the code to look at DESCRIPTION.
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.
______________________________________________ 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.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595