• using R version 2.15.3 (2013-03-01)
  • using platform: x86_64-w64-mingw32 (64-bit)
  • using session charset: ISO8859-1
  • checking for file 'waveclock/DESCRIPTION' ... OK
  • this is package 'waveclock' version '1.0-4'
  • 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 whether package 'waveclock' can be installed ... OK
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking for portable file names ... 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
  • loading checks for arch 'i386'
    ** 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
  • loading checks for arch 'x64'
    ** 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 for unstated dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... NOTE
    Foreign function call with 'PACKAGE' argument in a different package:
    .C("Sbee_annealing", ..., PACKAGE = "Rwave")
    See the chapter 'System and foreign language interfaces' of the
    'Writing R Extensions' manual.
  • checking R code for possible problems ... NOTE
    waveclock: warning in axis(1, at + bt * (lt - time.limits[1]), lab =
    lt): partial argument match of 'lab' to 'labels'
    waveclock: warning in axis(2, pp, lab = lp): partial argument match of
    'lab' to 'labels'
    waveclock: warning in matrix(NA, nc = max(c(0, chains)), nr = N):
    partial argument match of 'nr' to 'nrow'
    waveclock: warning in matrix(NA, nc = max(c(0, chains)), nr = N):
    partial argument match of 'nc' to 'ncol'
    waveclock: warning in matrix(NA, nr = max(c(0, chains + 1)), nc = 8):
    partial argument match of 'nr' to 'nrow'
    waveclock: warning in matrix(NA, nr = max(c(0, chains + 1)), nc = 8):
    partial argument match of 'nc' to 'ncol'
  • checking Rd files ... 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 examples ...
    ** running examples for arch 'i386' ... OK
    ** running examples for arch 'x64' ... ERROR
    Running examples in 'waveclock-Ex.R' failed
    The error most likely occurred in:

    > ### Name: waveclock
    > ### Title: Reconstruction of the modal frequencies in a time series using
    > ### continuous wavelet transformation and the "crazy climbers" algorithm
    > ### Aliases: waveclock
    > ### Keywords: ts
    >
    > ### ** Examples
    >
    > set.seed( 1 )
    > freq <- 6 # data point every 10 minutes
    > T <- 24 * 5 * freq
    > t <- ( 0:T ) / freq
    >
    > # models an initial 'spike' and slow background trend
    > spike <- 0.5 * dgamma( t / 24, 2, 10 )
    > trend <- rowSums( poly( t, 2 ) %*% rnorm( 2 ) )
    > background <- spike + trend
    >
    > # exponentially damped circadian signal with random phase
    > amplitude <- sqrt( 2 ) * exp( -t / ( 24 * 2 ) )
    > period <- 24
    > phase <- runif( 1 ) * 2 * pi
    > signal <- amplitude * sin( t / period * 2 * pi + phase )
    >
    > # Gaussian noise
    > noise <- 0.15 * rnorm( T + 1 )
    >
    > # simulated luminescence trace
    > luminescence.trace <- ts( signal + background + noise, start = 0, freq = freq )
    > plot( luminescence.trace )
    >
    > # wavelet analysis
    > result <- waveclock( luminescence.trace )
    Nb of chains > reserved number. Increase the nbchain.
    Chain number 1(size: 1033 , 97 nodes):morvelets; 1033 194Error in rskel[j] <- Re(cwtinput[bridge[j] - bridge[1] + 1, aridge[j]]) :
    replacement has length zero
    Calls: waveclock ... do.call -> my.crcrec -> regrec -> ridrec -> zeroskeleton
    Execution halted