SCM

R Development Page

zoo log file (check_x86_64_linux)

Tue May 29 23:35:31 2018: Checking package zoo (SVN revision 1122) ...
* using log directory ‘/srv/rf/building/build_2018-05-30-00-31/RF_PKG_CHECK/PKGS/zoo.Rcheck’
* using R version 3.5.0 Patched (2018-05-28 r74789)
* 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-2’
* 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 ... [6s/6s] 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 ... [13s/13s] OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... NOTE
Package unavailable to check Rd xrefs: ‘stinepack’
* 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 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’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [3s/3s] OK
* checking differences from ‘zoo-Ex.Rout’ to ‘zoo-Ex.Rout.save’ ... OK

936,955d935
< > ## c() can combine several zoo series, e.g., zoo series with Date index
< > z <- zoo(1:5, as.Date("2000-01-01") + 0:4)
< > z2 <- zoo(6:7, time(z)[length(z)] + 1:2)
< > 
< > ## c() combines these in a single series
< > c(z, z2)
< 2000-01-01 2000-01-02 2000-01-03 2000-01-04 2000-01-05 2000-01-06 2000-01-07 
<          1          2          3          4          5          6          7 
< > 
< > ## the order does not matter
< > c(z2, z)
< 2000-01-01 2000-01-02 2000-01-03 2000-01-04 2000-01-05 2000-01-06 2000-01-07 
<          1          2          3          4          5          6          7 
< > 
< > ## note, however, that combining a zoo series with an unclassed vector
< > ## of observations coerces to zoo/Date first and can give unexpected results
< > c(z, 6:7)
< 1970-01-02 1970-01-03 2000-01-01 2000-01-02 2000-01-03 2000-01-04 2000-01-05 
<          6          7          1          2          3          4          5 
< > 
1081c1061
< Date of length 0
---
> [1] "Date of length 0"
1189c1169
< > ### Aliases: na.fill na.fill0 na.fill.ts na.fill.zoo na.fill.default
---
> > ### Aliases: na.fill na.fill.ts na.fill.zoo na.fill.default
1378,1388c1358
< > ## na.locf() can also be mimicked with ave()
< > x <- c(NA, 10, NA, NA, 20, NA)
< > f <- function(x) x[1]
< > ave(x, cumsum(!is.na(x)), FUN = f)
< [1] NA 10 10 10 20 20
< > 
< > ## by replacing f() with other functions various generalizations can be
< > ## obtained, e.g.,
< > f <- function(x) if (length(x) > 3) x else x[1]  # like maxgap
< > f <- function(x) replace(x, 1:min(length(x)), 3) # replace up to 2 NAs
< > f <- function(x) if (!is.na(x[1]) && x[1] > 0) x[1] else x  # only positve numbers
---
> > 
1710,1716d1679
< > ## read text lines with month/year in separate columns
< > Lines <- "Jan 1998 4.36
< + Feb 1998 4.34"
< > read.zoo(text = Lines, index = 1:2, FUN = paste, FUN2 = as.yearmon)
< Jan 1998 Feb 1998 
<     4.36     4.34 
< > 
1883,1910d1845
< > ## rolling weekly sums (with some missing dates)
< > z <- zoo(1:11, as.Date("2016-03-09") + c(0:7, 9:10, 12))
< > weeksum <- function(z) sum(z[time(z) > max(time(z)) - 7])
< > zs <- rollapplyr(z, 7, weeksum, fill = NA, coredata = FALSE)
< > merge(value = z, weeksum = zs)
<            value weeksum
< 2016-03-09     1      NA
< 2016-03-10     2      NA
< 2016-03-11     3      NA
< 2016-03-12     4      NA
< 2016-03-13     5      NA
< 2016-03-14     6      NA
< 2016-03-15     7      28
< 2016-03-16     8      35
< 2016-03-18     9      39
< 2016-03-19    10      45
< 2016-03-21    11      45
< > 
< > 
< > ## replicate cumsum with either 'partial' or vector width 'k'
< > cumsum(1:10)
<  [1]  1  3  6 10 15 21 28 36 45 55
< > rollapplyr(1:10, 10, sum, partial = TRUE)
<  [1]  1  3  6 10 15 21 28 36 45 55
< > rollapplyr(1:10, 1:10, sum)
<  [1]  1  3  6 10 15 21 28 36 45 55
< > 
< > 
2216d2150
< > ## rolling operations for univariate series
2238d2171
< > ## rolling operations for multivariate series
2257d2189
< > ## rollapply vs. dedicated rollmean
2664,2675c2596,2607
<  [1] "2000-01-01 01:00:00 +01" "2000-02-01 01:00:00 +01"
<  [3] "2000-03-01 01:00:00 +01" "2000-04-01 01:00:00 +01"
<  [5] "2000-05-01 01:00:00 +01" "2000-06-01 01:00:00 +01"
<  [7] "2000-07-01 01:00:00 +01" "2000-08-01 01:00:00 +01"
<  [9] "2000-09-01 01:00:00 +01" "2000-10-01 01:00:00 +01"
< [11] "2000-11-01 01:00:00 +01" "2000-12-01 01:00:00 +01"
< [13] "2001-01-01 01:00:00 +01" "2001-02-01 01:00:00 +01"
< [15] "2001-03-01 01:00:00 +01" "2001-04-01 01:00:00 +01"
< [17] "2001-05-01 01:00:00 +01" "2001-06-01 01:00:00 +01"
< [19] "2001-07-01 01:00:00 +01" "2001-08-01 01:00:00 +01"
< [21] "2001-09-01 01:00:00 +01" "2001-10-01 01:00:00 +01"
< [23] "2001-11-01 01:00:00 +01" "2001-12-01 01:00:00 +01"
---
>  [1] "2000-01-01 01:00:00 CET"  "2000-02-01 01:00:00 CET" 
>  [3] "2000-03-01 01:00:00 CET"  "2000-04-01 02:00:00 CEST"
>  [5] "2000-05-01 02:00:00 CEST" "2000-06-01 02:00:00 CEST"
>  [7] "2000-07-01 02:00:00 CEST" "2000-08-01 02:00:00 CEST"
>  [9] "2000-09-01 02:00:00 CEST" "2000-10-01 02:00:00 CEST"
> [11] "2000-11-01 01:00:00 CET"  "2000-12-01 01:00:00 CET" 
> [13] "2001-01-01 01:00:00 CET"  "2001-02-01 01:00:00 CET" 
> [15] "2001-03-01 01:00:00 CET"  "2001-04-01 02:00:00 CEST"
> [17] "2001-05-01 02:00:00 CEST" "2001-06-01 02:00:00 CEST"
> [19] "2001-07-01 02:00:00 CEST" "2001-08-01 02:00:00 CEST"
> [21] "2001-09-01 02:00:00 CEST" "2001-10-01 02:00:00 CEST"
> [23] "2001-11-01 01:00:00 CET"  "2001-12-01 01:00:00 CET" 
2802,2805c2734,2737
< [1] "2000-01-01 01:00:00 +01" "2000-04-01 01:00:00 +01"
< [3] "2000-07-01 01:00:00 +01" "2000-10-01 01:00:00 +01"
< [5] "2001-01-01 01:00:00 +01" "2001-04-01 01:00:00 +01"
< [7] "2001-07-01 01:00:00 +01" "2001-10-01 01:00:00 +01"
---
> [1] "2000-01-01 01:00:00 CET"  "2000-04-01 02:00:00 CEST"
> [3] "2000-07-01 02:00:00 CEST" "2000-10-01 02:00:00 CEST"
> [5] "2001-01-01 01:00:00 CET"  "2001-04-01 02:00:00 CEST"
> [7] "2001-07-01 02:00:00 CEST" "2001-10-01 02:00:00 CEST"
* 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
 [4s/5s] OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking re-building of vignette outputs ... [14s/14s] OK
* checking PDF version of manual ... OK
* DONE

Status: 2 NOTEs
See
  ‘/srv/rf/building/build_2018-05-30-00-31/RF_PKG_CHECK/PKGS/zoo.Rcheck/00check.log’
for details.


Run time: 81.86 seconds.

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