From mauricio.zambrano at jrc.ec.europa.eu  Wed May  2 12:06:13 2012
From: mauricio.zambrano at jrc.ec.europa.eu (Mauricio Zambrano-Bigiarini)
Date: Wed, 02 May 2012 12:06:13 +0200
Subject: [Rd] --as-cran error
Message-ID: <4FA10715.9040405@jrc.ec.europa.eu>

Dear List,

While using the --as-cran option for checking one of my packages:

R CMD check --as-cran hydroGOF_0.3-3.tar.gz


I got the following error message:

pkgname <- "hydroGOF"
 > source(file.path(R.home("share"), "R", "examples-header.R"))
 > options(warn = 1)
 > library('hydroGOF')
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
   there is no package called ?class?

However, I don't get any error message when the checking is done without 
the --as-cran option.

Could somebody give me a hint about how to solve this error before 
submission to CRAN ?


sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_GB.utf8       LC_NUMERIC=C
  [3] LC_TIME=en_GB.utf8        LC_COLLATE=en_GB.utf8
  [5] LC_MONETARY=en_GB.utf8    LC_MESSAGES=en_GB.utf8
  [7] LC_PAPER=C                LC_NAME=C
  [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.utf8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base


Thanks in advance,

Mauricio Zambrano-Bigiarini
-- 
====================================================
Water Resources Unit
Institute for Environment and Sustainability (IES)
Joint Research Centre (JRC), European Commission
webinfo    : http://floods.jrc.ec.europa.eu/
====================================================
DISCLAIMER:
"The views expressed are purely those of the writer
and may not in any circumstances be regarded as sta-
ting an official position of the European Commission"
====================================================
Linux user #454569 -- Ubuntu user #17469
====================================================
"A strong man and a waterfall always
channel their own path." (Unknown)



[Rd] --as-cran error
Mauricio Zambrano-Bigiarini