CRAN Package Check Results for Package forega

Last updated on 2016-03-07 23:47:23.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 1.0 11.59 24.38 35.97 OK
r-devel-linux-x86_64-fedora-clang 1.0 79.03 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0 68.39 OK
r-devel-osx-x86_64-clang 1.0 67.35 ERROR
r-devel-windows-ix86+x86_64 1.0 64.00 79.00 143.00 OK
r-patched-linux-x86_64 1.0 11.83 27.04 38.87 OK
r-patched-solaris-sparc 1.0 455.10 OK
r-patched-solaris-x86 1.0 92.50 OK
r-release-linux-x86_64 1.0 11.80 26.16 37.96 OK
r-release-osx-x86_64-mavericks 1.0 ERROR
r-release-windows-ix86+x86_64 1.0 60.00 86.00 146.00 OK
r-oldrel-windows-ix86+x86_64 1.0 68.00 122.00 190.00 OK

Memtest notes: gcc6-ASAN gcc-ASAN valgrind

Check Details

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘forega-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ForecastArima
    > ### Title: Floating-Point Genetic Algorithms with Statistical Forecast
    > ### Based Inheritance Operator
    > ### Aliases: ForecastArima
    > ### Keywords: methods
    >
    > ### ** Examples
    >
    >
    > # Required package forega
    > require("forega")
    >
    > set.seed(12345)
    >
    > # This function has the global minimum at x_1 = pi and x_2 = exp(1)
    > f <- function (x){
    + return( (x[1]-pi)^2 + (x[2]-2.71828)^2 )
    + }
    >
    > # Performing a floating-point genetic algorithm search with forecast probability of 0.10
    > res <- forecasting_ga(evalFunc=f, chsize=2, minv=rep(-10.0,2),
    + maxv=rep(10.0,2), crossprob=0.80, mutationprob=0.01,
    + popsize=100, maxiter=1000, MinimumForecastLength=20,
    + ForecastFunction=ForecastArima, elitism=2, forecastprob=0.01)
    Error: only replacement of elements is allowed
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-osx-x86_64-clang, r-release-osx-x86_64-mavericks