CRAN Package Check Results for Package rray

Last updated on 2020-01-27 00:48:18 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 447.51 68.00 515.51 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 304.17 49.14 353.31 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 767.60 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 652.13 ERROR
r-devel-windows-ix86+x86_64 0.1.0 917.00 154.00 1071.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 0.1.0 967.00 132.00 1099.00 NOTE
r-patched-linux-x86_64 0.1.0 329.70 60.41 390.11 OK
r-patched-solaris-x86 0.1.0 520.90 ERROR
r-release-linux-x86_64 0.1.0 322.51 56.77 379.28 ERROR
r-release-windows-ix86+x86_64 0.1.0 683.00 114.00 797.00 NOTE
r-release-osx-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 659.00 99.00 758.00 NOTE
r-oldrel-osx-x86_64 0.1.0 NOTE

Additional issues

clang-UBSAN gcc10 gcc10 gcc-UBSAN

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/11s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rray)
     >
     > test_check("rray")
     ── 1. Failure: can't index beyond vector in extract (@test-extract.R#67) ──────
     `rray_extract(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 2. Failure: can't index beyond vector in extract (@test-extract.R#68) ──────
     `rray_extract(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 1:3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 3. Failure: can extract with a logical (@test-extract.R#79) ────────────────
     `rray_extract(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(...)
     10. vctrs:::stop_indicator_size(...)
    
     ── 4. Failure: extract with character fails gracefully (@test-extract.R#163) ──
     `rray_extract(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, "r3"), "non-existing")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 5. Failure: can use a negative extract (@test-extract.R#177) ───────────────
     `rray_extract(x, -3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, -3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 6. Failure: can't index beyond vector in subset (@test-subset.R#76) ────────
     `rray_subset(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 7. Failure: can't index beyond vector in subset (@test-subset.R#77) ────────
     `rray_subset(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 1:3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 8. Failure: can subset with a logical (@test-subset.R#88) ──────────────────
     `rray_subset(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, c(TRUE, TRUE, TRUE)), "must have length 1 or")
     9. vctrs:::stop_indicator_size(...)
    
     ── 9. Failure: subset with character fails gracefully (@test-subset.R#172) ────
     `rray_subset(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, "r3"), "non-existing")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 10. Failure: can use a negative subset (@test-subset.R#185) ────────────────
     `x[-3]` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(x[-3], "length 2")
     11. vctrs:::stop_subscript_oob(...)
     12. vctrs:::stop_subscript(...)
    
     ── 11. Failure: can't index beyond vector in a yank (@test-yank.R#17) ─────────
     `rray_yank(x, 9)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 9 doesn't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 9), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 12. Failure: can't index beyond vector in a yank (@test-yank.R#18) ─────────
     `rray_yank(x, 8:10)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The locations 9 and 10 don't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 8:10), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 13. Failure: shaped logicals with non-identical shape fail with yank (@test-y
     `rray_yank(x, idx)` threw an error with unexpected message.
     Expected match: "size 8"
     Actual message: "`i` must have one dimension, not 2."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, idx), "size 8")
     6. rray::rray_yank(x, idx)
     7. rray:::rray_yank_impl(x, maybe_missing(i))
     8. rray:::as_yank_indexer(i, x)
     9. vctrs::vec_as_index(i, rray_elems(x))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 1622 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
     1. Failure: can't index beyond vector in extract (@test-extract.R#67)
     2. Failure: can't index beyond vector in extract (@test-extract.R#68)
     3. Failure: can extract with a logical (@test-extract.R#79)
     4. Failure: extract with character fails gracefully (@test-extract.R#163)
     5. Failure: can use a negative extract (@test-extract.R#177)
     6. Failure: can't index beyond vector in subset (@test-subset.R#76)
     7. Failure: can't index beyond vector in subset (@test-subset.R#77)
     8. Failure: can subset with a logical (@test-subset.R#88)
     9. Failure: subset with character fails gracefully (@test-subset.R#172)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: installed package size
Result: NOTE
     installed size is 42.1Mb
     sub-directories of 1Mb or more:
     libs 41.4Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [12s/14s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rray)
     >
     > test_check("rray")
     ── 1. Failure: can't index beyond vector in extract (@test-extract.R#67) ──────
     `rray_extract(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 2. Failure: can't index beyond vector in extract (@test-extract.R#68) ──────
     `rray_extract(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 1:3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 3. Failure: can extract with a logical (@test-extract.R#79) ────────────────
     `rray_extract(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(...)
     10. vctrs:::stop_indicator_size(...)
    
     ── 4. Failure: extract with character fails gracefully (@test-extract.R#163) ──
     `rray_extract(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, "r3"), "non-existing")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 5. Failure: can use a negative extract (@test-extract.R#177) ───────────────
     `rray_extract(x, -3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, -3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 6. Failure: can't index beyond vector in subset (@test-subset.R#76) ────────
     `rray_subset(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 7. Failure: can't index beyond vector in subset (@test-subset.R#77) ────────
     `rray_subset(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 1:3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 8. Failure: can subset with a logical (@test-subset.R#88) ──────────────────
     `rray_subset(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, c(TRUE, TRUE, TRUE)), "must have length 1 or")
     9. vctrs:::stop_indicator_size(...)
    
     ── 9. Failure: subset with character fails gracefully (@test-subset.R#172) ────
     `rray_subset(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, "r3"), "non-existing")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 10. Failure: can use a negative subset (@test-subset.R#185) ────────────────
     `x[-3]` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(x[-3], "length 2")
     11. vctrs:::stop_subscript_oob(...)
     12. vctrs:::stop_subscript(...)
    
     ── 11. Failure: can't index beyond vector in a yank (@test-yank.R#17) ─────────
     `rray_yank(x, 9)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 9 doesn't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 9), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 12. Failure: can't index beyond vector in a yank (@test-yank.R#18) ─────────
     `rray_yank(x, 8:10)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The locations 9 and 10 don't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 8:10), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 13. Failure: shaped logicals with non-identical shape fail with yank (@test-y
     `rray_yank(x, idx)` threw an error with unexpected message.
     Expected match: "size 8"
     Actual message: "`i` must have one dimension, not 2."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, idx), "size 8")
     6. rray::rray_yank(x, idx)
     7. rray:::rray_yank_impl(x, maybe_missing(i))
     8. rray:::as_yank_indexer(i, x)
     9. vctrs::vec_as_index(i, rray_elems(x))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 1622 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
     1. Failure: can't index beyond vector in extract (@test-extract.R#67)
     2. Failure: can't index beyond vector in extract (@test-extract.R#68)
     3. Failure: can extract with a logical (@test-extract.R#79)
     4. Failure: extract with character fails gracefully (@test-extract.R#163)
     5. Failure: can use a negative extract (@test-extract.R#177)
     6. Failure: can't index beyond vector in subset (@test-subset.R#76)
     7. Failure: can't index beyond vector in subset (@test-subset.R#77)
     8. Failure: can subset with a logical (@test-subset.R#88)
     9. Failure: subset with character fails gracefully (@test-subset.R#172)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rray)
     >
     > test_check("rray")
     ── 1. Failure: can't index beyond vector in extract (@test-extract.R#67) ──────
     `rray_extract(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 2. Failure: can't index beyond vector in extract (@test-extract.R#68) ──────
     `rray_extract(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 1:3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 3. Failure: can extract with a logical (@test-extract.R#79) ────────────────
     `rray_extract(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(...)
     10. vctrs:::stop_indicator_size(...)
    
     ── 4. Failure: extract with character fails gracefully (@test-extract.R#163) ──
     `rray_extract(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, "r3"), "non-existing")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 5. Failure: can use a negative extract (@test-extract.R#177) ───────────────
     `rray_extract(x, -3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, -3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 6. Failure: can't index beyond vector in subset (@test-subset.R#76) ────────
     `rray_subset(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 7. Failure: can't index beyond vector in subset (@test-subset.R#77) ────────
     `rray_subset(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 1:3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 8. Failure: can subset with a logical (@test-subset.R#88) ──────────────────
     `rray_subset(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, c(TRUE, TRUE, TRUE)), "must have length 1 or")
     9. vctrs:::stop_indicator_size(...)
    
     ── 9. Failure: subset with character fails gracefully (@test-subset.R#172) ────
     `rray_subset(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, "r3"), "non-existing")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 10. Failure: can use a negative subset (@test-subset.R#185) ────────────────
     `x[-3]` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(x[-3], "length 2")
     11. vctrs:::stop_subscript_oob(...)
     12. vctrs:::stop_subscript(...)
    
     ── 11. Failure: can't index beyond vector in a yank (@test-yank.R#17) ─────────
     `rray_yank(x, 9)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 9 doesn't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 9), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 12. Failure: can't index beyond vector in a yank (@test-yank.R#18) ─────────
     `rray_yank(x, 8:10)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The locations 9 and 10 don't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 8:10), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 13. Failure: shaped logicals with non-identical shape fail with yank (@test-y
     `rray_yank(x, idx)` threw an error with unexpected message.
     Expected match: "size 8"
     Actual message: "`i` must have one dimension, not 2."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, idx), "size 8")
     6. rray::rray_yank(x, idx)
     7. rray:::rray_yank_impl(x, maybe_missing(i))
     8. rray:::as_yank_indexer(i, x)
     9. vctrs::vec_as_index(i, rray_elems(x))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 1622 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
     1. Failure: can't index beyond vector in extract (@test-extract.R#67)
     2. Failure: can't index beyond vector in extract (@test-extract.R#68)
     3. Failure: can extract with a logical (@test-extract.R#79)
     4. Failure: extract with character fails gracefully (@test-extract.R#163)
     5. Failure: can use a negative extract (@test-extract.R#177)
     6. Failure: can't index beyond vector in subset (@test-subset.R#76)
     7. Failure: can't index beyond vector in subset (@test-subset.R#77)
     8. Failure: can subset with a logical (@test-subset.R#88)
     9. Failure: subset with character fails gracefully (@test-subset.R#172)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [14s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rray)
     >
     > test_check("rray")
     ── 1. Failure: can't index beyond vector in extract (@test-extract.R#67) ──────
     `rray_extract(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 2. Failure: can't index beyond vector in extract (@test-extract.R#68) ──────
     `rray_extract(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 1:3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 3. Failure: can extract with a logical (@test-extract.R#79) ────────────────
     `rray_extract(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(...)
     10. vctrs:::stop_indicator_size(...)
    
     ── 4. Failure: extract with character fails gracefully (@test-extract.R#163) ──
     `rray_extract(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, "r3"), "non-existing")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 5. Failure: can use a negative extract (@test-extract.R#177) ───────────────
     `rray_extract(x, -3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, -3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 6. Failure: can't index beyond vector in subset (@test-subset.R#76) ────────
     `rray_subset(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 7. Failure: can't index beyond vector in subset (@test-subset.R#77) ────────
     `rray_subset(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 1:3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 8. Failure: can subset with a logical (@test-subset.R#88) ──────────────────
     `rray_subset(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, c(TRUE, TRUE, TRUE)), "must have length 1 or")
     9. vctrs:::stop_indicator_size(...)
    
     ── 9. Failure: subset with character fails gracefully (@test-subset.R#172) ────
     `rray_subset(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, "r3"), "non-existing")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 10. Failure: can use a negative subset (@test-subset.R#185) ────────────────
     `x[-3]` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(x[-3], "length 2")
     11. vctrs:::stop_subscript_oob(...)
     12. vctrs:::stop_subscript(...)
    
     ── 11. Failure: can't index beyond vector in a yank (@test-yank.R#17) ─────────
     `rray_yank(x, 9)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 9 doesn't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 9), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 12. Failure: can't index beyond vector in a yank (@test-yank.R#18) ─────────
     `rray_yank(x, 8:10)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The locations 9 and 10 don't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 8:10), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 13. Failure: shaped logicals with non-identical shape fail with yank (@test-y
     `rray_yank(x, idx)` threw an error with unexpected message.
     Expected match: "size 8"
     Actual message: "`i` must have one dimension, not 2."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, idx), "size 8")
     6. rray::rray_yank(x, idx)
     7. rray:::rray_yank_impl(x, maybe_missing(i))
     8. rray:::as_yank_indexer(i, x)
     9. vctrs::vec_as_index(i, rray_elems(x))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 1622 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
     1. Failure: can't index beyond vector in extract (@test-extract.R#67)
     2. Failure: can't index beyond vector in extract (@test-extract.R#68)
     3. Failure: can extract with a logical (@test-extract.R#79)
     4. Failure: extract with character fails gracefully (@test-extract.R#163)
     5. Failure: can use a negative extract (@test-extract.R#177)
     6. Failure: can't index beyond vector in subset (@test-subset.R#76)
     7. Failure: can't index beyond vector in subset (@test-subset.R#77)
     8. Failure: can subset with a logical (@test-subset.R#88)
     9. Failure: subset with character fails gracefully (@test-subset.R#172)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/10s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rray)
     >
     > test_check("rray")
     ── 1. Failure: can't index beyond vector in extract (@test-extract.R#67) ──────
     `rray_extract(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 2. Failure: can't index beyond vector in extract (@test-extract.R#68) ──────
     `rray_extract(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, 1:3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 3. Failure: can extract with a logical (@test-extract.R#79) ────────────────
     `rray_extract(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(...)
     10. vctrs:::stop_indicator_size(...)
    
     ── 4. Failure: extract with character fails gracefully (@test-extract.R#163) ──
     `rray_extract(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, "r3"), "non-existing")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 5. Failure: can use a negative extract (@test-extract.R#177) ───────────────
     `rray_extract(x, -3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_extract(x, -3), "length 2")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 6. Failure: can't index beyond vector in subset (@test-subset.R#76) ────────
     `rray_subset(x, 3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 7. Failure: can't index beyond vector in subset (@test-subset.R#77) ────────
     `rray_subset(x, 1:3)` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, 1:3), "length 2")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 8. Failure: can subset with a logical (@test-subset.R#88) ──────────────────
     `rray_subset(x, c(TRUE, TRUE, TRUE))` threw an error with unexpected message.
     Expected match: "must have length 1 or"
     Actual message: "Must subset elements with a valid subscript vector.\nℹ Logical subscripts must match the size of the indexed input.\n✖ The input has size 2 but the subscript has size 3."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, c(TRUE, TRUE, TRUE)), "must have length 1 or")
     9. vctrs:::stop_indicator_size(...)
    
     ── 9. Failure: subset with character fails gracefully (@test-subset.R#172) ────
     `rray_subset(x, "r3")` threw an error with unexpected message.
     Expected match: "non-existing"
     Actual message: "Can't subset elements that don't exist.\n✖ The element `r3` doesn't exist."
     Backtrace:
     1. testthat::expect_error(rray_subset(x, "r3"), "non-existing")
     9. vctrs:::stop_subscript_oob(...)
     10. vctrs:::stop_subscript(...)
    
     ── 10. Failure: can use a negative subset (@test-subset.R#185) ────────────────
     `x[-3]` threw an error with unexpected message.
     Expected match: "length 2"
     Actual message: "Can't negate elements that don't exist.\n✖ The location 3 doesn't exist.\nℹ There are only 2 elements."
     Backtrace:
     1. testthat::expect_error(x[-3], "length 2")
     11. vctrs:::stop_subscript_oob(...)
     12. vctrs:::stop_subscript(...)
    
     ── 11. Failure: can't index beyond vector in a yank (@test-yank.R#17) ─────────
     `rray_yank(x, 9)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The location 9 doesn't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 9), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 12. Failure: can't index beyond vector in a yank (@test-yank.R#18) ─────────
     `rray_yank(x, 8:10)` threw an error with unexpected message.
     Expected match: "length 8"
     Actual message: "Can't subset elements that don't exist.\n✖ The locations 9 and 10 don't exist.\nℹ There are only 8 elements."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, 8:10), "length 8")
     10. vctrs:::stop_subscript_oob(...)
     11. vctrs:::stop_subscript(...)
    
     ── 13. Failure: shaped logicals with non-identical shape fail with yank (@test-y
     `rray_yank(x, idx)` threw an error with unexpected message.
     Expected match: "size 8"
     Actual message: "`i` must have one dimension, not 2."
     Backtrace:
     1. testthat::expect_error(rray_yank(x, idx), "size 8")
     6. rray::rray_yank(x, idx)
     7. rray:::rray_yank_impl(x, maybe_missing(i))
     8. rray:::as_yank_indexer(i, x)
     9. vctrs::vec_as_index(i, rray_elems(x))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 1622 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 13 ]
     1. Failure: can't index beyond vector in extract (@test-extract.R#67)
     2. Failure: can't index beyond vector in extract (@test-extract.R#68)
     3. Failure: can extract with a logical (@test-extract.R#79)
     4. Failure: extract with character fails gracefully (@test-extract.R#163)
     5. Failure: can use a negative extract (@test-extract.R#177)
     6. Failure: can't index beyond vector in subset (@test-subset.R#76)
     7. Failure: can't index beyond vector in subset (@test-subset.R#77)
     8. Failure: can subset with a logical (@test-subset.R#88)
     9. Failure: subset with character fails gracefully (@test-subset.R#172)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64