* using log directory 'd:/Rcompile/CRANpkg/local/2.5/StatDataML.Rcheck' * using R version 2.5.1 Patched (2007-08-01 r42387) * checking for file 'StatDataML/DESCRIPTION' ... OK * this is package 'StatDataML' version '1.0-15' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'StatDataML' 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 ... WARNING Loading required package: XML Loading required package: methods Error in paste(normalizePath(file.path(libname, pkgname, "libs")), file.path(Sys.getenv("R_HOME"), : could not find function "normalizePath" Error : .onLoad failed in 'loadNamespace' for 'XML' Error: package 'XML' could not be loaded Execution halted It looks like this package (or one of its dependent packages) has an unstated dependence on a standard package. All dependencies must be declared in DESCRIPTION. See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. * checking whether the name space can be loaded with stated dependencies ... WARNING Error in paste(normalizePath(file.path(libname, pkgname, "libs")), file.path(Sys.getenv("R_HOME"), : could not find function "normalizePath" Error: .onLoad failed in 'loadNamespace' for 'XML' Execution halted A namespace must be able to be loaded with just the base namespace loaded: otherwise if the namespace gets loaded by a saved object, the session will be unable to start. Probably some imports need to be declared in the NAMESPACE file. * checking for unstated dependencies in R code ... WARNING Error: package 'XML' could not be loaded Call sequence: 3: stop(gettextf("package '%s' could not be loaded", pkg), call. = FALSE, domain = NA) 2: .getRequiredPackages2(pkgInfo) 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE) Execution halted See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. * 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 ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * creating StatDataML-Ex.R ... OK * checking examples ... OK * creating StatDataML-manual.tex ... OK * checking StatDataML-manual.tex ... OK