- using R Under development (unstable) (2022-08-09 r82699 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: UTF-8
- checking for file 'TSmisc/DESCRIPTION' ... OK
- this is package 'TSmisc' version '2016.8-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 'TSmisc' can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 ... [1s] 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 sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [3s] ERROR
Running examples in 'TSmisc-Ex.R' failed
The error most likely occurred in:
> ### Name: TSmiscMethods
> ### Title: TSdbi Extensions to Wrap Several Data Sources
> ### Aliases: TSmiscMethods histQuote TShistQuoteConnection-class
> ### TSconnect,histQuoteConnection,missing-method
> ### TSget,character,TShistQuoteConnection-method
> ### TSdates,character,TShistQuoteConnection-method
> ### TSdescription,character,TShistQuoteConnection-method
> ### TSdoc,character,TShistQuoteConnection-method
> ### TSlabel,character,TShistQuoteConnection-method
> ### TSsource,character,TShistQuoteConnection-method getSymbol
> ### TSgetSymbolConnection-class
> ### TSconnect,getSymbolConnection,missing-method
> ### TSget,character,TSgetSymbolConnection-method
> ### TSdates,character,TSgetSymbolConnection-method
> ### TSdescription,character,TSgetSymbolConnection-method
> ### TSdoc,character,TSgetSymbolConnection-method
> ### TSlabel,character,TSgetSymbolConnection-method
> ### TSsource,character,TSgetSymbolConnection-method xls
> ### TSxlsConnection-class TSconnect,xlsConnection,missing-method
> ### TSget,character,TSxlsConnection-method
> ### TSdates,character,TSxlsConnection-method
> ### TSdescription,character,TSxlsConnection-method
> ### TSdoc,character,TSxlsConnection-method
> ### TSlabel,character,TSxlsConnection-method
> ### TSsource,character,TSxlsConnection-method zip TSzipConnection-class
> ### TSconnect,zipConnection,missing-method
> ### TSget,character,TSzipConnection-method
> ### TSdates,character,TSzipConnection-method
> ### TSdescription,character,TSzipConnection-method
> ### TSdoc,character,TSzipConnection-method
> ### TSlabel,character,TSzipConnection-method
> ### TSsource,character,TSzipConnection-method
> ### Keywords: ts
>
> ### ** Examples
>
> require("tfplot")
Loading required package: tfplot
Loading required package: tframe
>
> ## Not run:
> ##D con <- try(TSconnect("histQuote", dbname="yahoo") )
> ##D x <- TSget("^gspc", con)
> ##D tfplot(x)
> ##D
> ##D con <- TSconnect("getSymbol", dbname="FRED")
> ##D x <- TSget("CPIAUCNS", con)
> ##D tfplot(x)
> ##D
> ##D # data from http://pitrading.com/
> ##D # par(ask=TRUE) # to pause between pages
> ##D con <- TSconnect("zip", dbname="http://pitrading.com/free_eod_data")
> ##D x <- TSget("EURUSD", con)
> ##D tfplot(x, graphs.per.page=3)
> ##D
> ##D z <- TSget(c("AD", "CD"), con, quote="Close")
> ##D tfplot(z, start="2007-01-01", Title=
> ##D "Futures, Australian and Canadian Dollar Continuous Contract at Close",
> ##D graphs.per.page=3)
> ##D
> ## End(Not run)
>
> #### Australian Money ####
> # test file copied Nov. 29, 2010 from
> # http://www.rba.gov.au/statistics/tables/xls/d03hist.xls
>
> testfile <- system.file("xlsExampleData/d03hist.xls", package = "TSmisc")
>
> con1 <- TSconnect("xls", dbname=testfile,
+ map=list(ids =list(i=11, j="B:Q"),
+ data =list(i=12:627, j="B:Q"),
+ dates=list(i=12:627, j="A"),
+ names=list(i=4:7, j="B:Q"),
+ description = NULL,
+ tsrepresentation = function(data,dates){
+ ts(data,start=c(1959,7), frequency=12)}))
Error in .local(q, dbname = dbname, ...) :
Could not read spreedsheet D:/RCompile/CRANpkg/lib/4.3/TSmisc/xlsExampleData/d03hist.xlsError in file.exists(tfn) : invalid 'file' argument
Calls: TSconnect -> TSconnect -> TSconnect -> TSconnect -> .local
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [9s] OK
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR