search for: pkgflds

Displaying 7 results from an estimated 7 matches for "pkgflds".

2004 Jun 03
3
Problem with mgcv PACKAGES file format?
...URL .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ..... downloaded 165Kb Error in "colnames<-"(`*tmp*`, value = c("Package", "LibPath", pkgFlds)) : attempt to set colnames on object with less than two dimensions The relevant section of the package file is: Package: mgcv Version: 1.0-8 Author: Simon Wood Maintainer: Simon Wood Title: Multiple smoothing parameter estimation and GAMs by GCV Description: Routines for GAMs and other g...
2004 Oct 28
1
Error with package update
I received the following error when I attempted to update my packages: updating HTML package descriptions Warning messages: 1: DESCRIPTION file of package 'file28862' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 2: number of columns of result not a multiple of vector length (arg 2) in: rbind(retval, c(p, lib, desc)) 3: DESCRIPTION file of package 'file7460' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 4: number of columns of result not a multiple o...
2006 Aug 29
1
PATCH: Add fields argument to installed.packages and available.packages
...} } @@ -307,22 +319,29 @@ } installed.packages <- - function(lib.loc = NULL, priority = NULL, noCache = FALSE) + function(lib.loc = NULL, priority = NULL, noCache = FALSE, + fields = NULL) { if(is.null(lib.loc)) lib.loc <- .libPaths() - pkgFlds <- c("Version", "Priority", "Bundle", "Contains", "Depends", - "Suggests", "Imports", "Built") if(!is.null(priority)) { if(!is.character(priority)) stop("'priority&...
2004 Jun 23
2
SOS:) help on install package
............. .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ........ downloaded 168Kb Error in "colnames<-"(`*tmp*`, value = c("Package", "LibPath", pkgFlds)) : attempt to set colnames on object with less than two dimensions IS there anyone know what is wrong, and what other commands to use to install a package in R? many thanks, yan
2003 Apr 28
1
installed.packages() with no packages
...situation where installed.packages() was given a lib.loc argument that turned out to not have any R packages installed. As an example: > z <- tempfile() > dir.create(z) > installed.packages(z) Error in "colnames<-"(*tmp*, value = c("Package", "LibPath", pkgFlds)) : dimnames applied to non-array Looking at the code, it seems what happens is that 'retval' is assigned character() but then after the for loop the function checks 'retval' with a "if(!is.null(retval))", and I don't see how 'retval' could ever have a NULL...
2004 Oct 04
1
update.packages() with R 2.0.0
...quot;, : length of dimnames [2] not equal to array extent In addition: There were 50 or more warnings (use warnings() to see the first 50) > > warnings() Warning messages: 1: DESCRIPTION file of package 'aaa' missing or broken in: packageDescription(p, lib = lib, fields = pkgFlds) 2: number of columns of result not a multiple of vector length (arg 2) in: rbind(retval, c(p, lib, desc)) 3: number of columns of result not a multiple of vector length (arg 2) in: rbind(retval, c(p, lib, desc)) 4: number of columns of result not a multiple of vector length...
2006 Jun 04
0
dependencies ERROR during R CMD check
...ing Version 2.3.0 (2006-04-24) * checking for file 'cts/DESCRIPTION' ... OK * this is package 'cts' version '0.1-3' * checking package dependencies ... ERROR Warning message: no package 'the_name_of_the_package' was found in: packageDescription(p, lib = lib, fields = pkgFlds, encoding = NA) The DESCRIPTION file looks like the following: Package: cts Title: Not shown Version: 0.1-3 Author: Name not shown Maintainer: Zhu Depends: R (>= 2.3.0) Description: Not shown License: GPL version 2 or newer (see file COPYING) Packaged: Mon Jun 3 11:24:42 2006