[Rd] Fw: problem reported in 00check.log-package not found-cont.

carol white wht_crl at yahoo.com
Thu Jan 13 16:03:10 CET 2011


Yes, the packages are already installed and their path is given correctly

I have noticed that if I run the R version lower ( < 2.10.0) than the version 
with which the packages were installed (2.10.0) I don't get such error message. 
But if I run the equal or greater version (>= 2.10.0), I get the error message:
 
content of 00check.log file

* install options are ' --no-html'

* installing *source* package ‘my_package’ ...
** R
** preparing package for lazy loading
Loading required package: splines
Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = 
lib.loc) :
  there is no package called 'prodlim'
Error : package 'prodlim' could not be loaded
ERROR: lazy loading failed for package ‘my_package’




----- Original Message ----
From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
To: carol white <wht_crl at yahoo.com>
Cc: r-devel at r-project.org
Sent: Thu, January 13, 2011 11:24:47 AM
Subject: Re: [Rd] Fw:  problem reported in 00check.log-package not found-cont.

We simply don't have a reproducible example, nor the 'at a minimum' 
information required by the posting guide.

Is prodlim installed?

Is it in the library tree you set as R_LIBS?

Note the following from 'Writing R Extensions':

   Note: R CMD check and R CMD build run R with --vanilla, so none of the
   user's startup files are read. If you need R_LIBS set (to find
   packages in a non-standard library) you can set it in the environment:
   also as from R 2.12.0 you can use files ~/.R/check.Renviron and
   ~/.R/build.Renviron to set environment variables when using these
   utilities.

and we've seen non-reproucible reports that use of ~/.R/check.Renviron 
(rather than setting R_LIBS in the environment) was needed.  So please 
try that.

On Thu, 13 Jan 2011, carol white wrote:

> Sorry, forgot to specified that I get this message error when running
>
> R CMD check my_pkg_name
>
>
>
> ----- Forwarded Message ----
> From: carol white <wht_crl at yahoo.com>
> To: r-devel at r-project.org
> Sent: Wed, January 12, 2011 10:08:13 PM
> Subject: [Rd] problem reported in 00check.log-package not found
>
> I set
>
> setenv R_LIBS path_to_local_Rpackages
>
> still I get the error message that a package not found
>
> Warning in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc 
=
> lib.loc) :
>  there is no package called 'prodlim'
> Error : package 'prodlim' could not be loaded
> ERROR: lazy loading failed for package ‘prodlim’
>
> What can be done?
>
> Carol
>
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
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






More information about the R-devel mailing list