[Rd] package NULL not found
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Jul 20 07:42:31 CEST 2007
It turned out that when I reinstalled cygwin I put it first on the path
and its not supposed to be.
I wonder if R build tools could check for this by running a cygwin
program that is also in Rtools and if one gets the cygwin output
rather than the Rtools output it could warn the user to change his
path. I found it quite difficult to solve this problem.
On 7/19/07, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 19/07/2007 7:16 PM, Gabor Grothendieck wrote:
> > Thanks. I tried performing the check from an empty directory but
> > it still gave the same response. Where can I find the source code
> > for the check process?
>
> On Windows the main wrapper is a Perl script in RHOME/bin/check, but
> most of the work is done by routines in the tools package. The one that
> seems to be dying for you is tools:::.check_package_depends.
>
> Duncan Murdoch
>
> >
> > * using log directory 'C:/Rpkgs/check/sqldf.Rcheck'
> > * using ARGUMENT '
> > ' __ignored__ R version 2.5.1 (2007-06-27)
> > * checking for file 'sqldf/DESCRIPTION' ... OK
> > * this is package 'sqldf' version '0-1.0'
> > * checking package dependencies ... ERROR
> > During startup - Warning messages:
> > 1: there is no package called 'NULL
> > ' in: library(package, lib.loc = lib.loc, character.only = TRUE,
> > logical = TRUE,
> > 2: package NULL
> > in options("defaultPackages") was not found
> > See the information on DESCRIPTION files in the chapter 'Creating R
> > packages' of the 'Writing R Extensions' manual.
> >
> >
> > On 7/19/07, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> >> On 19/07/2007 5:55 PM, Gabor Grothendieck wrote:
> >>> I noticed I am getting the same messages when trying to check other
> >>> packages too such as gsubfn which previously checked ok.
> >>>
> >>> I had recently reinstalled cygwin so its likely something to do with
> >>> that but have not tracked it down.
> >> Another possibility may be that you have a .RData file in the check
> >> directory, and it is masking some important function. This was a
> >> problem for me a few days ago with INSTALL; I don't know if it affects
> >> check.
> >>
> >> Duncan Murdoch
> >>
> >>> On 7/19/07, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
> >>>> In performing Rcmd check I am getting this output regarding using
> >>>> Argument '' and a NULL package not found and it stops with an error:
> >>>>
> >>>> * using log directory 'C:/Rpkgs/sqldf.Rcheck'
> >>>> * using ARGUMENT '
> >>>> ' __ignored__ R version 2.5.1 (2007-06-27)
> >>>> * checking for file 'sqldf/DESCRIPTION' ... OK
> >>>> * this is package 'sqldf' version '0.1-0'
> >>>> * checking package dependencies ... ERROR
> >>>> During startup - Warning messages:
> >>>> 1: there is no package called 'NULL
> >>>> ' in: library(package, lib.loc = lib.loc, character.only = TRUE,
> >>>> logical = TRUE,
> >>>> 2: package NULL
> >>>> in options("defaultPackages") was not found
> >>>> See the information on DESCRIPTION files in the chapter 'Creating R
> >>>> packages' of the 'Writing R Extensions' manual.
> >>>>
> >>>> My DESCRIPTION file looks like this:
> >>>>
> >>>> Package: sqldf
> >>>> Version: 0.1-0
> >>>> Date: 2007-07-19
> >>>> Title: SQL on data frames.
> >>>> Author: G. Grothendieck
> >>>> Maintainer: G. Grothendieck <ggrothendieck at gmail.com>
> >>>> Description: Thin layer over RSQLite and RMySQL facilitating use of
> >>>> SQL selects on data frames.
> >>>> Depends: R (>= 2.5.1), RSQLite (>= 0.5-5), gsubfn
> >>>> License: GPL (Version 3 or later)
> >>>> URL: http://code.google.com/p/sqldf/
> >>>>
> >>>> and the entire package is at (click on Source tab):
> >>>>
> >>>> http://code.google.com/p/sqldf/
> >>>>
> >>>> I am using
> >>>>> R.version.string # Windows XP
> >>>> [1] "R version 2.5.1 (2007-06-27)"
> >>>>
> >>>> Does anyone know what this means and how to fix it?
> >>>>
> >>>> The package itself seems to work. Its just getting it past Rcmd check
> >>>> that is the problem.
> >>>>
> >>>> Thanks.
> >>>>
> >>> ______________________________________________
> >>> R-devel at r-project.org mailing list
> >>> https://stat.ethz.ch/mailman/listinfo/r-devel
> >>
>
>
More information about the R-devel
mailing list