CRAN Package Check Results for Package edwards97

Last updated on 2022-04-24 03:52:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 6.13 66.54 72.67 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 4.71 48.13 52.84 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 90.44 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 71.51 OK
r-patched-linux-x86_64 0.1.0 3.61 61.55 65.16 OK
r-release-linux-x86_64 0.1.0 3.09 58.74 61.83 OK
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 OK
r-release-windows-x86_64 0.1.0 27.00 79.00 106.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 OK
r-oldrel-windows-ix86+x86_64 0.1.0 13.00 65.00 78.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