CRAN Package Check Results for Package gratia

Last updated on 2020-03-27 00:49:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 15.80 241.22 257.02 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 12.23 176.51 188.74 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 298.74 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 281.11 ERROR
r-devel-windows-ix86+x86_64 0.3.0 29.00 247.00 276.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.3.0 27.00 295.00 322.00 OK
r-patched-linux-x86_64 0.3.0 12.62 222.31 234.93 OK
r-patched-solaris-x86 0.3.0 413.10 ERROR
r-release-linux-x86_64 0.3.0 11.67 221.42 233.09 OK
r-release-windows-ix86+x86_64 0.3.0 37.00 425.00 462.00 OK
r-release-osx-x86_64 0.3.0 OK
r-oldrel-osx-x86_64 0.3.0 ERROR

Check Details

Version: 0.3.0
Check: tests
Result: ERROR
     Running 'test-all.R' [125s/138s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     -- 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     -- 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     -- 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     == testthat results ===========================================================
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [89s/132s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     ── 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [140s/182s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     ── 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [137s/165s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     ── 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: tests
Result: ERROR
     Running 'test-all.R' [138s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     -- 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     -- 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     -- 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     -- 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     == testthat results ===========================================================
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [193s/232s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > ## Test `gratia` using the `testthat` package
     >
     > ## Setup
     > library("testthat")
     >
     > ## Runs the tests in tests/testthat
     > test_check("gratia")
     Loading required package: gratia
     list()
     ── 1. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 2. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 3. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff1(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff1(mod, df)
     7. gratia:::shift_values(newdata, h = h/2, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 4. Failure: internal finite diff functions fail for all factor vars (@test-de
     `forward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::forward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ── 5. Failure: internal finite diff functions fail for all factor vars (@test-de
     `backward_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::backward_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "-")
     8. base::Ops.data.frame(result, h)
    
     ── 6. Failure: internal finite diff functions fail for all factor vars (@test-de
     `central_finite_diff2(mod, df)` threw an error with unexpected message.
     Expected match: "Can't compute finite differences for all non-numeric data."
     Actual message: "non-numeric argument to binary operator"
     Backtrace:
     1. testthat::expect_error(...)
     6. gratia:::central_finite_diff2(mod, df)
     7. gratia:::shift_values(newdata, h = h, i = ind, FUN = "+")
     8. base::Ops.data.frame(result, h)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 514 | SKIPPED: 77 | WARNINGS: 0 | FAILED: 6 ]
     1. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#270)
     2. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#274)
     3. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#278)
     4. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#282)
     5. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#286)
     6. Failure: internal finite diff functions fail for all factor vars (@test-derivatives.R#290)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.0
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-osx-x86_64