* using log directory 'd:/Rcompile/CRANpkg/local/4.3/gdata.Rcheck' * using R Under development (unstable) (2022-08-11 r82713 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'gdata/DESCRIPTION' ... OK * this is package 'gdata' version '2.18.0.1' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'gdata' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over 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 whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking 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 ... [8s] OK * checking Rd files ... [3s] OK * 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 Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in Makefiles ... OK * checking for GNU extensions in Makefiles ... OK * checking include directives in Makefiles ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] ERROR Running examples in 'gdata-Ex.R' failed The error most likely occurred in: > ### Name: read.xls > ### Title: Read Excel files > ### Aliases: read.xls xls2csv xls2tab xls2tsv xls2sep > ### Keywords: file > > ### ** Examples > > > # iris.xls is included in the gregmisc package for use as an example > xlsfile <- file.path(path.package('gdata'),'xls','iris.xls') > xlsfile [1] "D:/RCompile/CRANpkg/lib/4.3/gdata/xls/iris.xls" > > iris <- read.xls(xlsfile) # defaults to csv format Error in findPerl(perl, verbose = verbose) : perl executable not found. Use perl= argument to specify the correct path. Calls: read.xls -> xls2sep -> findPerl Error in file.exists(tfn) : invalid 'file' argument Calls: read.xls -> file.exists Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [7s] ERROR Running 'runRUnitTests.R' [1s] Running 'test.humanReadable.R' [1s] Comparing 'test.humanReadable.Rout' to 'test.humanReadable.Rout.save' ...4,5c4 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLX' (Excel 97-2004) files. --- > gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED. 7,12c6 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLSX' (Excel 2007+) files. < < gdata: Run the function 'installXLSXsupport()' < gdata: to automatically download and install the perl < gdata: libaries needed to support Excel XLS and XLSX formats. --- > gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED. Running 'test.read.xls.R' [1s] Running 'test.reorder.factor.R' [1s] Comparing 'test.reorder.factor.Rout' to 'test.reorder.factor.Rout.save' ...15,16c15 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLX' (Excel 97-2004) files. --- > gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED. 18,23c17 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLSX' (Excel 2007+) files. < < gdata: Run the function 'installXLSXsupport()' < gdata: to automatically download and install the perl < gdata: libaries needed to support Excel XLS and XLSX formats. --- > gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED. Running 'test.write.fwf.eol.R' [1s] Running 'tests.write.fwf.R' [1s] Comparing 'tests.write.fwf.Rout' to 'tests.write.fwf.Rout.save' ...11,12c11 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLX' (Excel 97-2004) files. --- > gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED. 14,19c13 < gdata: Unable to load perl libaries needed by read.xls() < gdata: to support 'XLSX' (Excel 2007+) files. < < gdata: Run the function 'installXLSXsupport()' < gdata: to automatically download and install the perl < gdata: libaries needed to support Excel XLS and XLSX formats. --- > gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED. Running the tests in 'tests/test.read.xls.R' failed. Complete output: > library(gdata) gdata: Unable to load perl libaries needed by read.xls() gdata: to support 'XLX' (Excel 97-2004) files. gdata: Unable to load perl libaries needed by read.xls() gdata: to support 'XLSX' (Excel 2007+) files. gdata: Run the function 'installXLSXsupport()' gdata: to automatically download and install the perl gdata: libaries needed to support Excel XLS and XLSX formats. Attaching package: 'gdata' The following object is masked from 'package:stats': nobs The following object is masked from 'package:utils': object.size The following object is masked from 'package:base': startsWith > > if ( ! 'XLSX' %in% xlsFormats() ) + { + try( installXLSXsupport() ) + } Error in system(cmd, intern = TRUE) : Calls: %in% -> xlsFormats -> system Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [31s] OK * checking PDF version of manual ... OK * DONE Status: 2 ERRORs