CRAN Package Check Results for Package radiant.model

Last updated on 2021-11-29 05:49:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.2 OK
r-devel-linux-x86_64-debian-gcc 1.4.2 21.32 170.38 191.70 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.2 290.59 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.2 288.59 ERROR
r-devel-windows-x86_64-new-UL 1.4.2 58.00 302.00 360.00 OK
r-devel-windows-x86_64-new-TK 1.4.2 OK
r-devel-windows-x86_64-old 1.4.2 39.00 190.00 229.00 OK
r-patched-linux-x86_64 1.4.2 31.22 206.99 238.21 OK
r-patched-solaris-x86 1.4.2 374.90 OK
r-release-linux-x86_64 1.4.2 22.75 207.54 230.29 OK
r-release-macos-arm64 1.4.2 OK
r-release-macos-x86_64 1.4.2 OK
r-release-windows-ix86+x86_64 1.4.2 45.00 262.00 307.00 OK
r-oldrel-macos-x86_64 1.4.2 OK
r-oldrel-windows-ix86+x86_64 1.4.2 37.00 223.00 260.00 OK

Check Details

Version: 1.4.2
Check: examples
Result: ERROR
    Running examples in ‘radiant.model-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: store.mnl.predict
    > ### Title: Store predicted values generated in the mnl function
    > ### Aliases: store.mnl.predict
    >
    > ### ** Examples
    >
    > result <- mnl(
    + ketchup,
    + rvar = "choice",
    + evar = c("price.heinz28", "price.heinz32", "price.heinz41", "price.hunts32"),
    + lev = "heinz28"
    + )
    > pred <- predict(result, pred_data = ketchup)
    > ketchup <- store(ketchup, pred, name = c("heinz28", "heinz32", "heinz41", "hunts32"))
    Error in matrix(NA, nrow = indr$nr, ncol = ncol(df)) :
     non-numeric matrix extent
    Calls: store -> store.mnl.predict -> as.data.frame -> matrix
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.2
Check: package dependencies
Result: NOTE
    Imports includes 26 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.4.2
Check: examples
Result: ERROR
    Running examples in ‘radiant.model-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: store.mnl.predict
    > ### Title: Store predicted values generated in the mnl function
    > ### Aliases: store.mnl.predict
    >
    > ### ** Examples
    >
    > result <- mnl(
    + ketchup,
    + rvar = "choice",
    + evar = c("price.heinz28", "price.heinz32", "price.heinz41", "price.hunts32"),
    + lev = "heinz28"
    + )
    > pred <- predict(result, pred_data = ketchup)
    > ketchup <- store(ketchup, pred, name = c("heinz28", "heinz32", "heinz41", "hunts32"))
    Error in matrix(NA, nrow = indr$nr, ncol = ncol(df)) :
     non-numeric matrix extent
    Calls: store -> store.mnl.predict -> as.data.frame -> matrix
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc