CRAN Package Check Results for Package refund

Last updated on 2020-12-01 00:46:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-22 38.96 278.34 317.30 ERROR
r-devel-linux-x86_64-debian-gcc 0.1-22 26.67 220.76 247.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.1-22 381.52 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1-22 381.55 ERROR
r-devel-windows-ix86+x86_64 0.1-22 56.00 245.00 301.00 ERROR
r-patched-linux-x86_64 0.1-22 33.06 293.13 326.19 OK
r-patched-solaris-x86 0.1-22 640.50 OK
r-release-linux-x86_64 0.1-22 33.65 291.28 324.93 OK
r-release-macos-x86_64 0.1-22 OK
r-release-windows-ix86+x86_64 0.1-22 38.00 263.00 301.00 OK
r-oldrel-macos-x86_64 0.1-22 OK
r-oldrel-windows-ix86+x86_64 0.1-22 50.00 319.00 369.00 OK

Check Details

Version: 0.1-22
Check: examples
Result: ERROR
    Running examples in 'refund-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: fgam
    > ### Title: Functional Generalized Additive Models
    > ### Aliases: fgam
    >
    > ### ** Examples
    >
    > data(DTI)
    > ## only consider first visit and cases (no PASAT scores for controls)
    > y <- DTI$pasat[DTI$visit==1 & DTI$case==1]
    > X <- DTI$cca[DTI$visit==1 & DTI$case==1, ]
    > X_2 <- DTI$rcst[DTI$visit==1 & DTI$case==1, ]
    >
    > ## remove samples containing missing data
    > ind <- rowSums(is.na(X)) > 0
    > ind2 <- rowSums(is.na(X_2)) > 0
    >
    > y <- y[!(ind | ind2)]
    > X <- X[!(ind | ind2), ]
    > X_2 <- X_2[!(ind | ind2), ]
    >
    > N <- length(y)
    >
    > ## fit fgam using FA measurements along corpus callosum
    > ## as functional predictor with PASAT as response
    > ## using 8 cubic B-splines for marginal bases with third
    > ## order marginal difference penalties
    > ## specifying gamma > 1 enforces more smoothing when using
    > ## GCV to choose smoothing parameters
    > fit <- fgam(y ~ af(X, splinepars = list(k = c(8, 8), m = list(c(2, 3), c(2, 3)))), gamma = 1.2)
    Error in get(fun, mode = "function", envir = envir) :
     first argument has length > 1
    Calls: fgam ... FUN -> eval -> eval -> af -> %in% -> formals -> get
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1-22
Check: examples
Result: ERROR
    Running examples in ‘refund-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: fgam
    > ### Title: Functional Generalized Additive Models
    > ### Aliases: fgam
    >
    > ### ** Examples
    >
    > data(DTI)
    > ## only consider first visit and cases (no PASAT scores for controls)
    > y <- DTI$pasat[DTI$visit==1 & DTI$case==1]
    > X <- DTI$cca[DTI$visit==1 & DTI$case==1, ]
    > X_2 <- DTI$rcst[DTI$visit==1 & DTI$case==1, ]
    >
    > ## remove samples containing missing data
    > ind <- rowSums(is.na(X)) > 0
    > ind2 <- rowSums(is.na(X_2)) > 0
    >
    > y <- y[!(ind | ind2)]
    > X <- X[!(ind | ind2), ]
    > X_2 <- X_2[!(ind | ind2), ]
    >
    > N <- length(y)
    >
    > ## fit fgam using FA measurements along corpus callosum
    > ## as functional predictor with PASAT as response
    > ## using 8 cubic B-splines for marginal bases with third
    > ## order marginal difference penalties
    > ## specifying gamma > 1 enforces more smoothing when using
    > ## GCV to choose smoothing parameters
    > fit <- fgam(y ~ af(X, splinepars = list(k = c(8, 8), m = list(c(2, 3), c(2, 3)))), gamma = 1.2)
    Error in get(fun, mode = "function", envir = envir) :
     first argument has length > 1
    Calls: fgam ... FUN -> eval -> eval -> af -> %in% -> formals -> get
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64