An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061222/190b7c65/attachment.pl
building R-package under windows - error - in options("deafultPackages") was not found
5 messages · Daniel Berg, Brian Ripley, Uwe Ligges
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.
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
1 day later
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061225/8c52d2ce/attachment.pl
2 days later
Given the lines after "Description:" have been wrapped during e-mail transfer and are in one line in your DESCRIPTION file, here are two guesses: - You have some additional library added that contains a broken installation of some base package? - You have declared some non-existing default packages in some Rprofile or whereever that are not existing? Anyway, you might want to send the whole package in a private message. Uwe Ligges
Daniel Berg wrote:
I have tried to uninstall R-2.4.1 and reinstall it but I still get the same
error message. I have also tried reinstalling both mingw and perl, both
with
no effect.
My DESCRIPTION file:
Package: copulaGOF
Type: Package
Title: Copula simulation, estimation and goodness-of-fit
Version: 1.5
Date: 2006-12-15
Author: Daniel Berg, Henrik Bakken (Norwegian Computing Center)
Depends: adapt, copula, fBasics, mnormt, mvtnorm, scatterplot3d, sn
Maintainer: Daniel Berg <daniel at danielberg.no>
URL: www.danielberg.no
Description: Functions for copula simulation, estimation and
goodness-of-fit
testing. Includes functions for simulating and estimating higher
dimensional
distributions.
License: GPL Version 2 or later, GSL-1.6
and the error message read:
$ Rcmd build --binary copulaGOF
* checking for file 'copulaGOF/DESCRIPTION' ... OK
* preparing 'copulaGOF' :
* checking DESCRIPTION meta-information ... ERROR
During startup - Warning messages:
' in: library(package, lib.loc = lib.loc, character.only = TRUE, logical =
TRUE,
in options("defaultPackages") was not found
I don't have access to binaries of older versions of R now but will try
with
older version after the holidays to see if this has an effect.
Regards,
Daniel
On 12/23/06, Brian Ripley <ripley at stats.ox.ac.uk> wrote:
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/ <http://www.stats.ox.ac.uk/%7Eripley/> University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595