CRAN Package Check Results for Package radiant.model

Last updated on 2021-12-01 06:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.2 24.76 216.14 240.90 ERROR
r-devel-linux-x86_64-debian-gcc 1.4.2 24.17 185.82 209.99 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.2 305.16 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.2 292.46 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 ERROR
r-devel-windows-x86_64-old 1.4.2 33.00 193.00 226.00 ERROR
r-patched-linux-x86_64 1.4.2 31.56 206.98 238.54 OK
r-patched-solaris-x86 1.4.2 376.10 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 44.00 198.00 242.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
Flavors: r-devel-linux-x86_64-debian-clang, 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, r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old