CRAN Package Check Results for Package ems

Last updated on 2021-11-30 22:54:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.10 23.24 164.53 187.77 OK
r-devel-linux-x86_64-debian-gcc 1.3.10 18.55 130.96 149.51 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.10 225.67 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.10 214.55 ERROR
r-devel-windows-x86_64-new-UL 1.3.10 38.00 209.00 247.00 OK
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 21.52 155.71 177.23 OK
r-patched-solaris-x86 1.3.10 258.10 NOTE
r-release-linux-x86_64 1.3.10 22.87 157.03 179.90 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 50.00 145.00 195.00 OK
r-oldrel-macos-x86_64 1.3.10 NOTE
r-oldrel-windows-ix86+x86_64 1.3.10 40.00 144.00 184.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
Flavor: 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-patched-solaris-x86, 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-TK, r-devel-windows-x86_64-old