CRAN Package Check Results for Package edwards97

Last updated on 2022-06-30 11:53:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 5.65 57.13 62.78 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 4.67 41.83 46.50 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 83.12 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 81.31 OK
r-devel-windows-x86_64 0.1.0 33.00 80.00 113.00 OK
r-patched-linux-x86_64 0.1.0 3.58 52.92 56.50 OK
r-release-linux-x86_64 0.1.0 3.65 52.80 56.45 OK
r-release-macos-arm64 0.1.0 22.00 OK
r-release-macos-x86_64 0.1.0 49.00 OK
r-release-windows-x86_64 0.1.0 19.00 90.00 109.00 OK
r-oldrel-macos-arm64 0.1.0 25.00 OK
r-oldrel-macos-x86_64 0.1.0 44.00 OK
r-oldrel-windows-ix86+x86_64 0.1.0 14.00 69.00 83.00 ERROR

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(edwards97)
     >
     > test_check("edwards97")
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 76 ]
    
     == Failed tests ================================================================
     -- Error (test-fit.R:16:3): edwards_fit_optim works ----------------------------
     Error in `gsub(paste0("([\\", paste0(collapse = "\\", chars), "])"), "\\\\\\1",
     x, perl = TRUE)`: input string 1 is invalid UTF-8
     Backtrace:
     x
     1. \-testthat::expect_output(expect_identical(print(fit), fit), "<edwards_fit_optim>") at test-fit.R:16:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     4. +-base::paste0(...)
     5. \-testthat escape(encodeString(act$val))
     6. \-base::gsub(...)
     -- Error (test-fit.R:38:3): edwards_fit_coefs() works with data ----------------
     Error in `gsub(paste0("([\\", paste0(collapse = "\\", chars), "])"), "\\\\\\1",
     x, perl = TRUE)`: input string 1 is invalid UTF-8
     Backtrace:
     x
     1. \-testthat::expect_output(expect_identical(print(fit), fit), "<edwards_fit_coefs>") at test-fit.R:38:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     4. +-base::paste0(...)
     5. \-testthat escape(encodeString(act$val))
     6. \-base::gsub(...)
     -- Error (test-fit.R:51:3): edwards_fit_coefs() works without data -------------
     Error in `gsub(paste0("([\\", paste0(collapse = "\\", chars), "])"), "\\\\\\1",
     x, perl = TRUE)`: input string 1 is invalid UTF-8
     Backtrace:
     x
     1. \-testthat::expect_output(expect_identical(print(fit), fit), "<edwards_fit_coefs>") at test-fit.R:51:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     4. +-base::paste0(...)
     5. \-testthat escape(encodeString(act$val))
     6. \-base::gsub(...)
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 76 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64