CRAN Package Check Results for Package ems

Last updated on 2021-12-06 00:48:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.10 22.97 165.39 188.36 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.10 17.53 125.10 142.63 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.10 228.17 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.10 231.53 ERROR
r-devel-windows-x86_64-new-UL 1.3.10 36.00 191.00 227.00 ERROR
r-devel-windows-x86_64-new-TK 1.3.10 ERROR
r-devel-windows-x86_64-old 1.3.10 35.00 131.00 166.00 ERROR
r-patched-linux-x86_64 1.3.10 22.99 158.34 181.33 OK
r-release-linux-x86_64 1.3.10 20.56 165.13 185.69 OK
r-release-macos-arm64 1.3.10 NOTE
r-release-macos-x86_64 1.3.10 NOTE
r-release-windows-ix86+x86_64 1.3.10 49.00 202.00 251.00 OK
r-oldrel-macos-x86_64 1.3.10 NOTE
r-oldrel-windows-ix86+x86_64 1.3.10 52.00 193.00 245.00 OK

Check Details

Version: 1.3.10
Check: examples
Result: ERROR
    Running examples in 'ems-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: SRU
    > ### Title: Standardized Resource Use (SRU)
    > ### Aliases: SRU print.SRU plot.SRU cut_in SRUcalc
    >
    > ### ** Examples
    >
    >
    > # Loading the dataset
    > data(icu)
    >
    > # Removing data with inapropriate values and some editing
    > icu <- icu[-which(icu$los < 0 ),]
    > icu$Saps3DeathProbabilityStandardEquation <- icu$Saps3DeathProbabilityStandardEquation / 100
    >
    > # Setting classes acording to limits of SAPS 3 score
    > days <- seq(1,100)
    > cut_lims <- cut_in(icu$Saps3Points, icu$los, icu$UnitDischargeName,
    + icu$Unit, days, exc.ICU = TRUE)
    > icu$class <- cut(icu$Saps3Points, breaks = cut_lims, include.lowest = TRUE)
    >
    > # Estimating the SRU benchmarking myunit A and B
    > x <- SRU(prob = icu$Saps3DeathProbabilityStandardEquation,
    + death = icu$UnitDischargeName, unit = icu$Unit,
    + los = icu$los, score = icu$Saps3Points,
    + originals = TRUE, type = 1, plot = FALSE, myunits = c("A","B"))
    Error in round(as.vector(sum_los), digits2) :
     non-numeric argument to mathematical function
    Calls: SRU -> data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.3.10
Check: data for non-ASCII characters
Result: NOTE
     Note: found 23639 marked Latin-1 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 1.3.10
Check: examples
Result: ERROR
    Running examples in ‘ems-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: SRU
    > ### Title: Standardized Resource Use (SRU)
    > ### Aliases: SRU print.SRU plot.SRU cut_in SRUcalc
    >
    > ### ** Examples
    >
    >
    > # Loading the dataset
    > data(icu)
    >
    > # Removing data with inapropriate values and some editing
    > icu <- icu[-which(icu$los < 0 ),]
    > icu$Saps3DeathProbabilityStandardEquation <- icu$Saps3DeathProbabilityStandardEquation / 100
    >
    > # Setting classes acording to limits of SAPS 3 score
    > days <- seq(1,100)
    > cut_lims <- cut_in(icu$Saps3Points, icu$los, icu$UnitDischargeName,
    + icu$Unit, days, exc.ICU = TRUE)
    > icu$class <- cut(icu$Saps3Points, breaks = cut_lims, include.lowest = TRUE)
    >
    > # Estimating the SRU benchmarking myunit A and B
    > x <- SRU(prob = icu$Saps3DeathProbabilityStandardEquation,
    + death = icu$UnitDischargeName, unit = icu$Unit,
    + los = icu$los, score = icu$Saps3Points,
    + originals = TRUE, type = 1, plot = FALSE, myunits = c("A","B"))
    Error in round(as.vector(sum_los), digits2) :
     non-numeric argument to mathematical function
    Calls: SRU -> data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-devel-windows-x86_64-old