CRAN Package Check Results for Package stringx

Last updated on 2025-01-07 03:49:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.8 2.91 29.46 32.37 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.8 2.32 23.01 25.33 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.8 54.49 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.8 50.61 ERROR
r-devel-windows-x86_64 0.2.8 6.00 56.00 62.00 ERROR
r-patched-linux-x86_64 0.2.8 3.49 27.79 31.28 OK
r-release-linux-x86_64 0.2.8 3.04 27.73 30.77 OK
r-release-macos-arm64 0.2.8 21.00 OK
r-release-macos-x86_64 0.2.8 28.00 OK
r-release-windows-x86_64 0.2.8 5.00 53.00 58.00 OK
r-oldrel-macos-arm64 0.2.8 28.00 OK
r-oldrel-macos-x86_64 0.2.8 46.00 OK
r-oldrel-windows-x86_64 0.2.8 6.00 57.00 63.00 OK

Check Details

Version: 0.2.8
Check: tests
Result: ERROR Running ‘realtest.R’ [3s/4s] Running the tests in ‘tests/realtest.R’ failed. Complete output: > # This file is part of the 'stringx' project. > # Copyleft (c) 2021-2024, Marek Gagolewski <https://www.gagolewski.com> > > # Runs all unit tests for the package > > this_package <- "stringx" > > set.seed(123) > library(this_package, character.only=TRUE) Attaching package: 'stringx' The following objects are masked from 'package:base': ISOdate, ISOdatetime, Sys.time, casefold, chartr, endsWith, gregexec, gregexpr, grep, grepl, gsub, nchar, nzchar, paste, paste0, regexec, regexpr, sprintf, startsWith, strftime, strptime, strrep, strsplit, strtrim, strwrap, sub, substr, substr<-, substring, substring<-, tolower, toupper, trimws, xtfrm, xtfrm.default > if (require("realtest", quietly=TRUE)) { + f <- file.path(path.package(this_package), "realtest") + r <- test_dir(f, ".*\\.R$") + x <- summary(r) + + names(r) <- row.names(x) + fails <- x[x[["match"]] == "fail", , drop=FALSE] + if (nrow(fails) > 0) { + fails2 <- as.data.frame(fails[, + !(names(fails) %in% ".expr") & !sapply(fails, function(x) all(is.na(x))), + drop=FALSE]) + for (i in row.names(fails2)) { + cat(sprintf("%s:%d:\n", fails2[i, ".file"], fails2[i, ".line"])) + cat(" value: "); str(r[[i]][["object"]][["value"]], indent.str=" ") + cat(" sides: "); str(r[[i]][["object"]][["sides"]], indent.str=" ") + } + + if (require("stringi", quietly=TRUE)) + cat(sprintf("%s; %s\n", stri_info(TRUE), Sys.getlocale())) + + stop("some tests failed") + } + } /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/stringx/realtest/strptime-all.R:1: value: Error in balancePOSIXlt(as.POSIXlt(x)) : a valid "POSIXlt" object has element 11 with name 'tzone' which should be 'gmtoff' Calls: str ... format.fun -> as.character.POSIXt -> balancePOSIXlt Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.8
Check: tests
Result: ERROR Running ‘realtest.R’ [2s/2s] Running the tests in ‘tests/realtest.R’ failed. Complete output: > # This file is part of the 'stringx' project. > # Copyleft (c) 2021-2024, Marek Gagolewski <https://www.gagolewski.com> > > # Runs all unit tests for the package > > this_package <- "stringx" > > set.seed(123) > library(this_package, character.only=TRUE) Attaching package: 'stringx' The following objects are masked from 'package:base': ISOdate, ISOdatetime, Sys.time, casefold, chartr, endsWith, gregexec, gregexpr, grep, grepl, gsub, nchar, nzchar, paste, paste0, regexec, regexpr, sprintf, startsWith, strftime, strptime, strrep, strsplit, strtrim, strwrap, sub, substr, substr<-, substring, substring<-, tolower, toupper, trimws, xtfrm, xtfrm.default > if (require("realtest", quietly=TRUE)) { + f <- file.path(path.package(this_package), "realtest") + r <- test_dir(f, ".*\\.R$") + x <- summary(r) + + names(r) <- row.names(x) + fails <- x[x[["match"]] == "fail", , drop=FALSE] + if (nrow(fails) > 0) { + fails2 <- as.data.frame(fails[, + !(names(fails) %in% ".expr") & !sapply(fails, function(x) all(is.na(x))), + drop=FALSE]) + for (i in row.names(fails2)) { + cat(sprintf("%s:%d:\n", fails2[i, ".file"], fails2[i, ".line"])) + cat(" value: "); str(r[[i]][["object"]][["value"]], indent.str=" ") + cat(" sides: "); str(r[[i]][["object"]][["sides"]], indent.str=" ") + } + + if (require("stringi", quietly=TRUE)) + cat(sprintf("%s; %s\n", stri_info(TRUE), Sys.getlocale())) + + stop("some tests failed") + } + } /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/stringx/realtest/strptime-all.R:1: value: Error in balancePOSIXlt(as.POSIXlt(x)) : a valid "POSIXlt" object has element 11 with name 'tzone' which should be 'gmtoff' Calls: str ... format.fun -> as.character.POSIXt -> balancePOSIXlt Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.8
Check: tests
Result: ERROR Running ‘realtest.R’ Running the tests in ‘tests/realtest.R’ failed. Complete output: > # This file is part of the 'stringx' project. > # Copyleft (c) 2021-2024, Marek Gagolewski <https://www.gagolewski.com> > > # Runs all unit tests for the package > > this_package <- "stringx" > > set.seed(123) > library(this_package, character.only=TRUE) Attaching package: 'stringx' The following objects are masked from 'package:base': casefold, chartr, endsWith, gregexec, gregexpr, grep, grepl, gsub, ISOdate, ISOdatetime, nchar, nzchar, paste, paste0, regexec, regexpr, sprintf, startsWith, strftime, strptime, strrep, strsplit, strtrim, strwrap, sub, substr, substr<-, substring, substring<-, Sys.time, tolower, toupper, trimws, xtfrm, xtfrm.default > if (require("realtest", quietly=TRUE)) { + f <- file.path(path.package(this_package), "realtest") + r <- test_dir(f, ".*\\.R$") + x <- summary(r) + + names(r) <- row.names(x) + fails <- x[x[["match"]] == "fail", , drop=FALSE] + if (nrow(fails) > 0) { + fails2 <- as.data.frame(fails[, + !(names(fails) %in% ".expr") & !sapply(fails, function(x) all(is.na(x))), + drop=FALSE]) + for (i in row.names(fails2)) { + cat(sprintf("%s:%d:\n", fails2[i, ".file"], fails2[i, ".line"])) + cat(" value: "); str(r[[i]][["object"]][["value"]], indent.str=" ") + cat(" sides: "); str(r[[i]][["object"]][["sides"]], indent.str=" ") + } + + if (require("stringi", quietly=TRUE)) + cat(sprintf("%s; %s\n", stri_info(TRUE), Sys.getlocale())) + + stop("some tests failed") + } + } /data/gannet/ripley/R/packages/tests-clang/stringx.Rcheck/stringx/realtest/strptime-all.R:1: value: Error in balancePOSIXlt(as.POSIXlt(x)) : a valid "POSIXlt" object has element 11 with name 'tzone' which should be 'gmtoff' Calls: str ... format.fun -> as.character.POSIXt -> balancePOSIXlt Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.8
Check: tests
Result: ERROR Running ‘realtest.R’ Running the tests in ‘tests/realtest.R’ failed. Complete output: > # This file is part of the 'stringx' project. > # Copyleft (c) 2021-2024, Marek Gagolewski <https://www.gagolewski.com> > > # Runs all unit tests for the package > > this_package <- "stringx" > > set.seed(123) > library(this_package, character.only=TRUE) Attaching package: 'stringx' The following objects are masked from 'package:base': casefold, chartr, endsWith, gregexec, gregexpr, grep, grepl, gsub, ISOdate, ISOdatetime, nchar, nzchar, paste, paste0, regexec, regexpr, sprintf, startsWith, strftime, strptime, strrep, strsplit, strtrim, strwrap, sub, substr, substr<-, substring, substring<-, Sys.time, tolower, toupper, trimws, xtfrm, xtfrm.default > if (require("realtest", quietly=TRUE)) { + f <- file.path(path.package(this_package), "realtest") + r <- test_dir(f, ".*\\.R$") + x <- summary(r) + + names(r) <- row.names(x) + fails <- x[x[["match"]] == "fail", , drop=FALSE] + if (nrow(fails) > 0) { + fails2 <- as.data.frame(fails[, + !(names(fails) %in% ".expr") & !sapply(fails, function(x) all(is.na(x))), + drop=FALSE]) + for (i in row.names(fails2)) { + cat(sprintf("%s:%d:\n", fails2[i, ".file"], fails2[i, ".line"])) + cat(" value: "); str(r[[i]][["object"]][["value"]], indent.str=" ") + cat(" sides: "); str(r[[i]][["object"]][["sides"]], indent.str=" ") + } + + if (require("stringi", quietly=TRUE)) + cat(sprintf("%s; %s\n", stri_info(TRUE), Sys.getlocale())) + + stop("some tests failed") + } + } /data/gannet/ripley/R/packages/tests-devel/stringx.Rcheck/stringx/realtest/strptime-all.R:1: value: Error in balancePOSIXlt(as.POSIXlt(x)) : a valid "POSIXlt" object has element 11 with name 'tzone' which should be 'gmtoff' Calls: str ... format.fun -> as.character.POSIXt -> balancePOSIXlt Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.2.8
Check: tests
Result: ERROR Running 'realtest.R' [2s] Running the tests in 'tests/realtest.R' failed. Complete output: > # This file is part of the 'stringx' project. > # Copyleft (c) 2021-2024, Marek Gagolewski <https://www.gagolewski.com> > > # Runs all unit tests for the package > > this_package <- "stringx" > > set.seed(123) > library(this_package, character.only=TRUE) Attaching package: 'stringx' The following objects are masked from 'package:base': casefold, chartr, endsWith, gregexec, gregexpr, grep, grepl, gsub, ISOdate, ISOdatetime, nchar, nzchar, paste, paste0, regexec, regexpr, sprintf, startsWith, strftime, strptime, strrep, strsplit, strtrim, strwrap, sub, substr, substr<-, substring, substring<-, Sys.time, tolower, toupper, trimws, xtfrm, xtfrm.default > if (require("realtest", quietly=TRUE)) { + f <- file.path(path.package(this_package), "realtest") + r <- test_dir(f, ".*\\.R$") + x <- summary(r) + + names(r) <- row.names(x) + fails <- x[x[["match"]] == "fail", , drop=FALSE] + if (nrow(fails) > 0) { + fails2 <- as.data.frame(fails[, + !(names(fails) %in% ".expr") & !sapply(fails, function(x) all(is.na(x))), + drop=FALSE]) + for (i in row.names(fails2)) { + cat(sprintf("%s:%d:\n", fails2[i, ".file"], fails2[i, ".line"])) + cat(" value: "); str(r[[i]][["object"]][["value"]], indent.str=" ") + cat(" sides: "); str(r[[i]][["object"]][["sides"]], indent.str=" ") + } + + if (require("stringi", quietly=TRUE)) + cat(sprintf("%s; %s\n", stri_info(TRUE), Sys.getlocale())) + + stop("some tests failed") + } + } D:/RCompile/CRANpkg/lib/4.5/stringx/realtest/strptime-all.R:1: value: Error in balancePOSIXlt(as.POSIXlt(x)) : a valid "POSIXlt" object has element 11 with name 'tzone' which should be 'gmtoff' Calls: str ... format.fun -> as.character.POSIXt -> balancePOSIXlt Execution halted Flavor: r-devel-windows-x86_64