* using log directory 'd:/Rcompile/CRANpkg/local/2.10/diseasemapping.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'diseasemapping/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'diseasemapping' version '0.5.3' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'diseasemapping' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking for unstated dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... NOTE prepare_Rd: computeArea.Rd:19: Dropping empty section \seealso prepare_Rd: diseasemapping-package.Rd:12-14: Dropping empty section \details prepare_Rd: expandCensus.Rd:53: Dropping empty section \keyword prepare_Rd: expandCensus.Rd:54: Dropping empty section \keyword prepare_Rd: expandCensus.Rd:27-29: Dropping empty section \details prepare_Rd: expandCensus.Rd:30-32: Dropping empty section \value prepare_Rd: expandCensus.Rd:39-41: Dropping empty section \note prepare_Rd: expandCensus.Rd:33-35: Dropping empty section \references prepare_Rd: expandCensus.Rd:45-46: Dropping empty section \seealso prepare_Rd: expandCensus.Rd:48-50: Dropping empty section \examples prepare_Rd: formatCases.Rd:44: Dropping empty section \keyword prepare_Rd: formatCases.Rd:45: Dropping empty section \keyword prepare_Rd: formatCases.Rd:29-31: Dropping empty section \note prepare_Rd: formatCases.Rd:27: Dropping empty section \references prepare_Rd: formatCases.Rd:32: Dropping empty section \seealso prepare_Rd: formatPopulation.Rd:64: Dropping empty section \keyword prepare_Rd: formatPopulation.Rd:65: Dropping empty section \keyword prepare_Rd: getBreaks.Rd:31: Dropping empty section \keyword prepare_Rd: getBreaks.Rd:32: Dropping empty section \keyword prepare_Rd: getBreaks.Rd:17-19: Dropping empty section \details prepare_Rd: getBreaks.Rd:23-24: Dropping empty section \note prepare_Rd: getBreaks.Rd:22: Dropping empty section \author prepare_Rd: getBreaks.Rd:21: Dropping empty section \references prepare_Rd: getBreaks.Rd:25: Dropping empty section \seealso prepare_Rd: getRates.Rd:51: Dropping empty section \keyword prepare_Rd: getRates.Rd:52: Dropping empty section \keyword prepare_Rd: getRates.Rd:41-42: Dropping empty section \note prepare_Rd: getRates.Rd:39: Dropping empty section \references prepare_Rd: getRates.Rd:43: Dropping empty section \seealso prepare_Rd: getSMR.Rd:50: Dropping empty section \keyword prepare_Rd: getSMR.Rd:51: Dropping empty section \keyword prepare_Rd: getSMR.Rd:42: Dropping empty section \seealso prepare_Rd: getStdRate.Rd:55: Dropping empty section \keyword prepare_Rd: getStdRate.Rd:56: Dropping empty section \keyword prepare_Rd: getStdRate.Rd:16-18: Dropping empty section \details prepare_Rd: getStdRate.Rd:19-21: Dropping empty section \value prepare_Rd: getStdRate.Rd:24-25: Dropping empty section \note prepare_Rd: getStdRate.Rd:22: Dropping empty section \references prepare_Rd: getStdRate.Rd:26: Dropping empty section \seealso * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking data for non-ASCII characters ... OK * checking examples ... ERROR Running examples in 'diseasemapping-Ex.R' failed. The error most likely occurred in: > ### * CanadaCancerRates > > flush(stderr()); flush(stdout()) > > ### Name: CanadaCancerRates > ### Title: Retreive cancer incidence rates from the Public Health Agency of > ### Canada > ### Aliases: CanadaCancerRates > > ### ** Examples > > qcLungF=CanadaCancerRates(area="quebec", years=2001:2003, site="lung", sex="F") > data(popdata) > qcLungExp = getSMR(popdata, qcLungF) Warning in getSMR.data.frame(popdata@data, ...) : population group(s) M0_4, M5_9, M10_14, M15_19, M20_24, M25_29, M30_34, M35_39, M40_44, M45_49, M50_54, M55_59, M60_64, M65_69, M70_74, M75_79, M80_84, M85plus ignored Warning in getSMR.data.frame(popdata@data, ...) : rate group(s) F1-4 ignored Loading required package: sp Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'sp' Error in .requirePackage(package) : unable to find required package "sp" Calls: getSMR ... checkSlotAssignment -> getClass -> getClassDef -> .requirePackage Execution halted