CRAN Package Check Results for Package SheetReader

Last updated on 2025-05-21 05:52:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.1 29.86 24.35 54.21 OK
r-devel-linux-x86_64-debian-gcc 1.2.1 24.63 20.20 44.83 OK
r-devel-linux-x86_64-fedora-clang 1.2.1 95.55 OK
r-devel-linux-x86_64-fedora-gcc 1.2.1 114.17 OK
r-devel-windows-x86_64 1.2.1 34.00 62.00 96.00 ERROR
r-patched-linux-x86_64 1.2.1 34.31 23.37 57.68 OK
r-release-linux-x86_64 1.2.1 34.88 23.43 58.31 OK
r-release-macos-arm64 1.2.1 31.00 OK
r-release-macos-x86_64 1.2.1 39.00 OK
r-release-windows-x86_64 1.2.1 35.00 75.00 110.00 OK
r-oldrel-macos-arm64 1.2.1 35.00 OK
r-oldrel-macos-x86_64 1.2.1 54.00 OK
r-oldrel-windows-x86_64 1.2.1 37.00 76.00 113.00 OK

Check Details

Version: 1.2.1
Check: tests
Result: ERROR Running 'coerce.R' [1s] Running 'encoding.R' [1s] Running 'escape.R' [0s] Running 'geometry.R' [1s] Running 'types.R' [1s] Running the tests in 'tests/coerce.R' failed. Complete output: > library(SheetReader) > options(stringsAsFactors = FALSE) > data <- read_xlsx(system.file("extdata", "multi-test.xlsx", package = "SheetReader"), sheet="coerce", col_types=c("text", "numeric", "numeric", "date", "date", "logical", "numeric", "numeric")) Warning message: In read_xlsx(system.file("extdata", "multi-test.xlsx", package = "SheetReader"), : Parse exception: String index out of bounds > base_date <- as.POSIXct("1900-01-01", "UTC") > date1 <- as.POSIXct("2021-01-01", "UTC") > date2 <- as.POSIXct("2020-04-01 13:37", "UTC") > compare <- function(x, y) { + (length(x) == length(y)) && all((x == y) | (if(all(is.numeric(x))) (abs(x - y) < 0.0001) else FALSE) | (is.na(x) & is.na(y))) + } > stopifnot(colnames(data) == c("Text", "Integer", "Real", "Date", "DateTime", "Boolean", "Formula", "Error", "Blank")) > stopifnot(compare(data[, "Text"], c("Blabla", NA, "#REF!", "14", "1", "43922.567361111112", "44197", "-234.72389999999999", "29384723"))) Error: compare(data[, "Text"], c("Blabla", NA, "#REF!", "14", "1", "43922.567361111112", .... is not TRUE Execution halted Flavor: r-devel-windows-x86_64