SCM

R Development Page

zoo log file (check_x86_64_linux)

Sat Mar 11 21:12:37 2023: Checking package zoo (SVN revision 1185) ...
* using log directory ‘/srv/rf/building/build_2023-03-11-21-11/RF_PKG_CHECK/PKGS/zoo.Rcheck’
* using R version 4.2.3 RC (2023-03-07 r83950)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
* checking for file ‘zoo/DESCRIPTION’ ... OK
* this is package ‘zoo’ version ‘1.8-12’
* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Achim Zeileis ’

The Date field is over a month old.
* 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 executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking serialization versions ... OK
* checking whether package ‘zoo’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... 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 ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... 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 line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
* checking pragmas in C/C++ headers and code ... OK
* checking compilation flags used ... OK
* checking compiled code ... OK
* checking sizes of PDF files under ‘inst/doc’ ... WARNING
  ‘gs+qpdf’ made some significant size reductions:
     compacted ‘zoo.pdf’ from 555Kb to 201Kb
  consider running tools::compactPDF(gs_quality = "ebook") on these files
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... ERROR
Running examples in ‘zoo-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: window.zoo
> ### Title: Extract/Replacing the Time Windows of Objects
> ### Aliases: window.zoo window<-.zoo
> ### Keywords: ts
> 
> ### ** Examples
> 
> suppressWarnings(RNGversion("3.5.0"))
> set.seed(1)
> 
> ## zoo example
> x.date <- as.Date(paste(2003, rep(1:4, 4:1), seq(1,19,2), sep = "-"))
> x <- zoo(matrix(rnorm(20), ncol = 2), x.date)
> x
                                 
2003-01-01 -0.6264538  1.51178117
2003-01-03  0.1836433  0.38984324
2003-01-05 -0.8356286 -0.62124058
2003-01-07  1.5952808 -2.21469989
2003-02-09  0.3295078  1.12493092
2003-02-11 -0.8204684 -0.04493361
2003-02-13  0.4874291 -0.01619026
2003-03-15  0.7383247  0.94383621
2003-03-17  0.5757814  0.82122120
2003-04-19 -0.3053884  0.59390132
> 
> window(x, start = as.Date("2003-02-01"), end = as.Date("2003-03-01"))
                                 
2003-02-09  0.3295078  1.12493092
2003-02-11 -0.8204684 -0.04493361
2003-02-13  0.4874291 -0.01619026
> window(x, index = x.date[1:6], start = as.Date("2003-02-01"))
                                 
2003-02-09  0.3295078  1.12493092
2003-02-11 -0.8204684 -0.04493361
> window(x, index = x.date[c(4, 8, 10)])
                                
2003-01-07  1.5952808 -2.2146999
2003-03-15  0.7383247  0.9438362
2003-04-19 -0.3053884  0.5939013
> window(x, index = x.date[c(4, 8, 10)]) <- matrix(1:6, ncol = 2)
> x
                                 
2003-01-01 -0.6264538  1.51178117
2003-01-03  0.1836433  0.38984324
2003-01-05 -0.8356286 -0.62124058
2003-01-07  1.0000000  4.00000000
2003-02-09  0.3295078  1.12493092
2003-02-11 -0.8204684 -0.04493361
2003-02-13  0.4874291 -0.01619026
2003-03-15  2.0000000  5.00000000
2003-03-17  0.5757814  0.82122120
2003-04-19  3.0000000  6.00000000
> 
> ## for classes that support comparisons with "character" variables
> ## start and end may be "character".
> window(x, start = "2003-02-01")
                                 
2003-02-09  0.3295078  1.12493092
2003-02-11 -0.8204684 -0.04493361
2003-02-13  0.4874291 -0.01619026
2003-03-15  2.0000000  5.00000000
2003-03-17  0.5757814  0.82122120
2003-04-19  3.0000000  6.00000000
> 
> ## zooreg example (with plain numeric index)
> z <- zooreg(rnorm(10), start = 2000, freq = 4)
> window(z, start = 2001.75)
   2001 Q4    2002 Q1    2002 Q2 
-1.4707524 -0.4781501  0.4179416 
> window(z, start = c(2001, 4))
 ----------- FAILURE REPORT -------------- 
 --- failure: length > 1 in coercion to logical ---
 --- srcref --- 
: 
 --- package (from environment) --- 
zoo
 --- call from context --- 
window.zoo(z, start = c(2001, 4))
 --- call from argument --- 
is.null(start) || is.na(start)
 --- R stacktrace ---
where 1: window.zoo(z, start = c(2001, 4))
where 2: window(z, start = c(2001, 4))

 --- value of length: 2 type: logical ---
[1] FALSE FALSE
 --- function from context --- 
function (x, index. = index(x), start = NULL, end = NULL, ...) 
{
    all.indexes <- index(x)
    in.index <- MATCH(all.indexes, index., nomatch = 0) > 0
    if (length(start) == 2 && !is.null(attr(x, "frequency")) && 
        is.numeric(all.indexes)) {
        freq <- attr(x, "frequency")
        start <- floor(start[1] * freq + (start[2] - 1) + 1e-04)/freq
    }
    if (length(end) == 2 && !is.null(attr(x, "frequency")) && 
        is.numeric(all.indexes)) {
        freq <- attr(x, "frequency")
        end <- floor(end[1] * freq + (end[2] - 1) + 1e-04)/freq
    }
    if (is.null(start) || is.na(start)) {
        if (is.null(end) || is.na(end)) {
            wi <- which(MATCH(all.indexes, index., nomatch = 0) > 
                0)
            return(x[wi, , drop = FALSE])
        }
        else {
            wi <- which(in.index & all.indexes <= end)
            return(x[wi, , drop = FALSE])
        }
    }
    else {
        if (is.null(end) || is.na(end)) {
            wi <- which(in.index & all.indexes >= start)
        }
        else {
            wi <- which(in.index & all.indexes >= start & all.indexes <= 
                end)
        }
        return(x[wi, , drop = FALSE])
    }
}


 --- function search by body ---
Function window.zoo in namespace zoo has this body.
 ----------- END OF FAILURE REPORT -------------- 
Fatal error: length > 1 in coercion to logical
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘as.Date.R’
  Comparing ‘as.Date.Rout’ to ‘as.Date.Rout.save’ ... OK
  Running ‘bugfixes.R’
  Comparing ‘bugfixes.Rout’ to ‘bugfixes.Rout.save’ ... OK
  Running ‘na.fill.R’
  Comparing ‘na.fill.Rout’ to ‘na.fill.Rout.save’ ... OK
  Running ‘na.locf.R’
  Comparing ‘na.locf.Rout’ to ‘na.locf.Rout.save’ ... OK
  Running ‘vignette-zoo-quickref.R’
  Comparing ‘vignette-zoo-quickref.Rout’ to ‘vignette-zoo-quickref.Rout.save’ ... OK
  Running ‘vignette-zoo.R’
  Comparing ‘vignette-zoo.Rout’ to ‘vignette-zoo.Rout.save’ ... OK
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking re-building of vignette outputs ... [25s/24s] OK
* checking PDF version of manual ... OK
* skipping checking HTML version of manual: no command ‘tidy’ found
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 1 ERROR, 1 WARNING, 1 NOTE
See
  ‘/srv/rf/building/build_2023-03-11-21-11/RF_PKG_CHECK/PKGS/zoo.Rcheck/00check.log’
for details.

Run time: 83.24 seconds.

Additional Logs:   00install.out
Thanks to:
Vienna University of Economics and Business Powered By FusionForge