CRAN Package Check Results for Maintainer ‘Marek Gagolewski <marek at gagolewski.com>’

Last updated on 2021-07-29 01:50:08 CEST.

Package ERROR WARN NOTE OK
agop 14
genie 14
genieclust 1 13
realtest 14
stringi 1 8 5
stringx 1 2

Package agop

Current CRAN status: OK: 14

Package genie

Current CRAN status: OK: 14

Package genieclust

Current CRAN status: NOTE: 1, OK: 13

Version: 1.0.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘mlpack’
Flavor: r-patched-solaris-x86

Package realtest

Current CRAN status: OK: 14

Package stringi

Current CRAN status: WARN: 1, NOTE: 8, OK: 5

Additional issues

rchk valgrind

Version: 1.7.3
Check: installed package size
Result: NOTE
     installed size is 6.2Mb
     sub-directories of 1Mb or more:
     libs 5.4Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.7.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     icu69/common/cstring.h:43:70: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 156 bytes from a string of length 156 [-Wstringop-truncation]
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Package stringx

Current CRAN status: ERROR: 1, OK: 2

Version: 0.1.2
Check: examples
Result: ERROR
    Running examples in ‘stringx-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: grepl2
    > ### Title: Detect Pattern Occurrences
    > ### Aliases: grepl2 grepv2 grepv2<- grepl grep
    >
    > ### ** Examples
    >
    > x <- c("abc", "1237", "\U0001f602", "\U0001f603", "stringx\U0001f970", NA)
    > grepl2(x, "\\p{EMOJI_PRESENTATION}")
    Error in stringi::stri_detect_regex(x, pattern, negate = invert, case_insensitive = ignore_case, :
     Illegal argument. (U_ILLEGAL_ARGUMENT_ERROR, context=`\p{EMOJI_PRESENTATION}`)
    Calls: grepl2 -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.2
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, 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,
     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$")
     + s <- summary(r)
     + print(s)
     + stopifnot(all(s[["match"]] != "fail"))
     + }
     *** realtest: test summary:
    
     bad better best pass fail
     casemap-all.R 9 0 0 12 0
     casemap-stringx.R 0 0 0 2 0
     chartr-all.R 0 0 0 10 0
     chartr-stringx.R 0 0 0 1 0
     constants-stringx.R 0 0 0 10 0
     gregexpr-all.R 0 14 0 30 0
     gregexpr-stringx.R 0 0 0 14 0
     gregextr-stringx.R 0 0 0 38 0
     grepl-all.R 0 22 0 35 0
     grepl-stringx.R 0 0 0 17 0
     gsub-all.R 0 0 0 31 0
     gsub-stringx.R 0 0 0 14 0
     nchar-all.R 0 1 1 11 2
     paste-all.R 0 0 0 14 0
     paste-stringx.R 0 0 0 31 0
     sort-all.R 0 0 0 8 0
     sort-stringx.R 0 0 0 5 0
     sprintf-all.R 0 1 0 28 0
     sprintf-stringx.R 0 0 0 2 0
     startswith-all.R 0 0 0 20 0
     startswith-stringx.R 0 0 0 10 0
     strcoll-stringx.R 0 0 0 13 0
     strptime-all.R 2 2 0 22 0
     strptime-stringx.R 0 0 0 8 0
     strrep-all.R 0 0 0 16 0
     strrep-stringx.R 0 0 0 9 0
     strsplit-all.R 0 0 0 29 0
     strsplit-stringx.R 0 0 0 11 0
     strtrim-all.R 1 0 0 20 2
     strwrap-all.R 0 0 0 14 2
     substr-all.R 0 3 0 19 0
     substr-stringx.R 0 0 0 18 0
     trimws-all.R 0 1 0 14 0
    
     *** realtest: failed test details:
     call match
     268 nchar fail
     269 nchar fail
     523 strtrim fail
     524 strtrim fail
     541 stringi::stri_width fail
     542 stringi::stri_width fail
     .file .line
     268 /home/ripley/R/Lib32/stringx/realtest/nchar-all.R 39
     269 /home/ripley/R/Lib32/stringx/realtest/nchar-all.R 45
     523 /home/ripley/R/Lib32/stringx/realtest/strtrim-all.R 59
     524 /home/ripley/R/Lib32/stringx/realtest/strtrim-all.R 66
     541 /home/ripley/R/Lib32/stringx/realtest/strwrap-all.R 33
     542 /home/ripley/R/Lib32/stringx/realtest/strwrap-all.R 34
    
     Error: all(s[["match"]] != "fail") is not TRUE
     Execution halted
Flavor: r-patched-solaris-x86