Running ‘testthat.R’ [24s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(luajr)
  > 
  > test_check("luajr")
  Saving _problems/test-attributes-3.R
  Saving _problems/test-character-3.R
  Saving _problems/test-character-32.R
  Saving _problems/test-character-42.R
  Saving _problems/test-character-52.R
  Saving _problems/test-character-66.R
  Saving _problems/test-character-83.R
  Saving _problems/test-character-119.R
  Saving _problems/test-character-128.R
  Saving _problems/test-environment-2.R
  Saving _problems/test-environment-9.R
  Saving _problems/test-environment-17.R
  Saving _problems/test-environment-26.R
  Saving _problems/test-environment-65.R
  Saving _problems/test-environment-75.R
  Saving _problems/test-environment-88.R
  Saving _problems/test-environment-100.R
  Saving _problems/test-environment-108.R
  Saving _problems/test-environment-128.R
  Saving _problems/test-environment-137.R
  Saving _problems/test-environment-146.R
  Saving _problems/test-environment-155.R
  Saving _problems/test-func-4.R
  Saving _problems/test-func-9.R
  Saving _problems/test-func-26.R
  Saving _problems/test-func-43.R
  Saving _problems/test-func-62.R
  Saving _problems/test-func-81.R
  Saving _problems/test-func-104.R
  Saving _problems/test-func-111.R
  Saving _problems/test-func-132.R
  Saving _problems/test-func-142.R
  Saving _problems/test-func-152.R
  Saving _problems/test-func-171.R
  Saving _problems/test-func-178.R
  Saving _problems/test-func-185.R
  Saving _problems/test-func-196.R
  Saving _problems/test-func-206.R
  Saving _problems/test-func-213.R
  Saving _problems/test-func-229.R
  Saving _problems/test-func-243.R
  Saving _problems/test-func-265.R
  Saving _problems/test-func-277.R
  Saving _problems/test-func-282.R
  Saving _problems/test-func-294.R
  Saving _problems/test-integer-2.R
  Saving _problems/test-integer-19.R
  Saving _problems/test-integer-26.R
  Saving _problems/test-integer-45.R
  Saving _problems/test-is_na-2.R
  Saving _problems/test-is_na-11.R
  Saving _problems/test-is_na-20.R
  Saving _problems/test-is_na-29.R
  Saving _problems/test-is_na-38.R
  Saving _problems/test-is_na-47.R
  Saving _problems/test-is_na-54.R
  Saving _problems/test-list-11.R
  Saving _problems/test-list-37.R
  Saving _problems/test-list-63.R
  Saving _problems/test-list-78.R
  Saving _problems/test-list-89.R
  Saving _problems/test-list-100.R
  Saving _problems/test-list-107.R
  Saving _problems/test-list-115.R
  Saving _problems/test-list-122.R
  Saving _problems/test-list-129.R
  Saving _problems/test-list-140.R
  Saving _problems/test-list-148.R
  Saving _problems/test-list-163.R
  Saving _problems/test-logical-2.R
  Saving _problems/test-logical-19.R
  Saving _problems/test-logical-38.R
  Saving _problems/test-lua-5.R
  Saving _problems/test-lua-27.R
  Saving _problems/test-lua-32.R
  Saving _problems/test-module-3.R
  Saving _problems/test-names-3.R
  Saving _problems/test-names-23.R
  Saving _problems/test-names-34.R
  Saving _problems/test-names-43.R
  Saving _problems/test-names-53.R
  Saving _problems/test-names-71.R
  Saving _problems/test-names-81.R
  Saving _problems/test-names-93.R
  Saving _problems/test-names-102.R
  Saving _problems/test-names-113.R
  Saving _problems/test-names-125.R
  Saving _problems/test-names-135.R
  Saving _problems/test-names-146.R
  Saving _problems/test-names-158.R
  Saving _problems/test-names-170.R
  Saving _problems/test-names-181.R
  Saving _problems/test-names-193.R
  Saving _problems/test-names-204.R
  Saving _problems/test-names-218.R
  Saving _problems/test-names-231.R
  Saving _problems/test-names-244.R
  Saving _problems/test-names-258.R
  Saving _problems/test-names-270.R
  Saving _problems/test-names-290.R
  Saving _problems/test-names-301.R
  Saving _problems/test-names-312.R
  Saving _problems/test-names-322.R
  Saving _problems/test-names-333.R
  Saving _problems/test-names-344.R
  Saving _problems/test-names-355.R
  Saving _problems/test-names-366.R
  Saving _problems/test-names-386.R
  Saving _problems/test-names-407.R
  Saving _problems/test-names-423.R
  Saving _problems/test-names-435.R
  Saving _problems/test-names-455.R
  Saving _problems/test-names-463.R
  Saving _problems/test-names-471.R
  Saving _problems/test-names-501.R
  Saving _problems/test-names-511.R
  Saving _problems/test-names-519.R
  Saving _problems/test-names-531.R
  Saving _problems/test-names-541.R
  Saving _problems/test-names-550.R
  Saving _problems/test-names-560.R
  Saving _problems/test-names-572.R
  Saving _problems/test-names-581.R
  Saving _problems/test-names-591.R
  Saving _problems/test-names-602.R
  Saving _problems/test-numeric-3.R
  Saving _problems/test-numeric-32.R
  Saving _problems/test-numeric-44.R
  Saving _problems/test-numeric-54.R
  Saving _problems/test-numeric-68.R
  Saving _problems/test-numeric-85.R
  Saving _problems/test-numeric-136.R
  Saving _problems/test-numeric-145.R
  Saving _problems/test-numeric-153.R
  Saving _problems/test-parallel-2.R
  Saving _problems/test-parallel-10.R
  Saving _problems/test-parallel-20.R
  Saving _problems/test-parallel-32.R
  Saving _problems/test-parallel-42.R
  Saving _problems/test-parallel-48.R
  Saving _problems/test-parallel-59.R
  Saving _problems/test-parallel-71.R
  Saving _problems/test-parallel-82.R
  Saving _problems/test-parallel-94.R
  Saving _problems/test-parallel-107.R
  Saving _problems/test-parallel-118.R
  Saving _problems/test-parallel-128.R
  Saving _problems/test-parallel-140.R
  Saving _problems/test-parallel-153.R
  Saving _problems/test-rfunction-2.R
  Saving _problems/test-rfunction-11.R
  Saving _problems/test-rfunction-19.R
  Saving _problems/test-rfunction-27.R
  Saving _problems/test-rfunction-34.R
  Saving _problems/test-rfunction-42.R
  Saving _problems/test-rfunction-49.R
  Saving _problems/test-rfunction-56.R
  Saving _problems/test-rfunction-65.R
  Saving _problems/test-rfunction-84.R
  Saving _problems/test-rfunction-92.R
  Saving _problems/test-rfunction-99.R
  Saving _problems/test-rfunction-106.R
  Saving _problems/test-rfunction-114.R
  Saving _problems/test-rfunction-124.R
  Saving _problems/test-rfunction-133.R
  Saving _problems/test-rfunction-140.R
  Saving _problems/test-rfunction-150.R
  Saving _problems/test-rfunction-158.R
  Saving _problems/test-rfunction-166.R
  Saving _problems/test-rfunction-174.R
  Saving _problems/test-rfunction-181.R
  Saving _problems/test-rfunction-188.R
  Saving _problems/test-rfunction-196.R
  Saving _problems/test-rmodule-2.R
  Saving _problems/test-rmodule-11.R
  Saving _problems/test-rmodule-35.R
  Saving _problems/test-rmodule-52.R
  Saving _problems/test-sexp-2.R
  Saving _problems/test-sexp-9.R
  Saving _problems/test-sexp-19.R
  Saving _problems/test-sexp-29.R
  Saving _problems/test-state-3.R
  Saving _problems/test-state-13.R
  Saving _problems/test-state-24.R
  Saving _problems/test-state-38.R
  Saving _problems/test-subset-2.R
  Saving _problems/test-subset-10.R
  Saving _problems/test-subset-17.R
  Saving _problems/test-subset-24.R
  Saving _problems/test-subset-31.R
  Saving _problems/test-subset-38.R
  Saving _problems/test-subset-45.R
  Saving _problems/test-subset-52.R
  Saving _problems/test-subset-59.R
  Saving _problems/test-subset-68.R
  Saving _problems/test-subset-77.R
  Saving _problems/test-subset-87.R
  Saving _problems/test-subset-103.R
  Saving _problems/test-subset-115.R
  Saving _problems/test-types-2.R
  Saving _problems/test-types-16.R
  Saving _problems/test-types-43.R
  [ FAIL 202 | WARN 0 | SKIP 0 | PASS 12 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-attributes.R:3:5'): attributes work ────────────────────────────
  Error in `lua("x = luajr.logical(1, true);  x:set_attr('a', luajr.integer(1, 1));     return x")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-attributes.R:3:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("x = luajr.logical(1, true);  x:set_attr('a', luajr.integer(1, 1));     return x")
  ── Error ('test-character.R:3:5'): character vector metamethods work ───────────
  Error in `lua("x0 = luajr.character()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x0 = luajr.character()") at test-character.R:3:5
  ── Error ('test-character.R:32:5'): character vector assign works ──────────────
  Error in `lua("local x = luajr.character(2, 'a'); x:assign(); return x:debug_str()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-character.R:32:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("local x = luajr.character(2, 'a'); x:assign(); return x:debug_str()")
  ── Error ('test-character.R:42:5'): character vector capacity methods work ─────
  Error in `lua("x = luajr.character()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character()") at test-character.R:42:5
  ── Error ('test-character.R:52:5'): character vector resize works ──────────────
  Error in `lua("x = luajr.character(2, 'a')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character(2, 'a')") at test-character.R:52:5
  ── Error ('test-character.R:66:5'): character push_back and pop_back work ──────
  Error in `lua("x = luajr.character(2, 'a')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character(2, 'a')") at test-character.R:66:5
  ── Error ('test-character.R:83:5'): character insert and erase work ────────────
  Error in `lua("x = luajr.character({'a','b','c','d','e','f','g'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'a','b','c','d','e','f','g'})") at test-character.R:83:5
  ── Error ('test-character.R:119:5'): character vector copy independence ────────
  Error in `lua("x = luajr.character({'apple', 'banana', 'cherry'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'apple', 'banana', 'cherry'})") at test-character.R:119:5
  ── Error ('test-character.R:128:5'): character vector NA values ────────────────
  Error in `lua("x = luajr.character(3, 'a')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character(3, 'a')") at test-character.R:128:5
  ── Error ('test-environment.R:2:5'): empty environment construction works ──────
  Error in `lua("e = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment()") at test-environment.R:2:5
  ── Error ('test-environment.R:9:5'): environment from SEXP works ───────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-environment.R:9:5
  ── Error ('test-environment.R:17:5'): environment from namespace string works ──
  Error in `lua("e = luajr.environment('base')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment('base')") at test-environment.R:17:5
  ── Error ('test-environment.R:26:5'): environment get/set/exists/remove work ───
  Error in `lua("e = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment()") at test-environment.R:26:5
  ── Error ('test-environment.R:65:5'): environment set with NULL value is retrievable ──
  Error in `lua("e = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment()") at test-environment.R:65:5
  ── Error ('test-environment.R:75:5'): environment ls works ─────────────────────
  Error in `lua("e = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment()") at test-environment.R:75:5
  ── Error ('test-environment.R:88:5'): environment get_parent and set_parent work ──
  Error in `lua("parent = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("parent = luajr.environment()") at test-environment.R:88:5
  ── Error ('test-environment.R:100:5'): environment get retrieves functions ─────
  Error in `lua("e = luajr.environment('base')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment('base')") at test-environment.R:100:5
  ── Error ('test-environment.R:108:5'): environment get retrieves lists ─────────
  Error in `lua("e = luajr.environment()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment()") at test-environment.R:108:5
  ── Error ('test-environment.R:128:5'): R environment passed via '&.' argcode arrives as environment ──
  Error in `lua_func("function(e) return luajr.is_environment(e) end", "&.")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-environment.R:128:5
  ── Error ('test-environment.R:137:5'): R environment passed via 'E' argcode is usable ──
  Error in `lua_func("function(e) return e:get('x') end", "E")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(e) return e:get('x') end", "E") at test-environment.R:137:5
  ── Error ('test-environment.R:146:5'): R environment round-trips via '&E' argcode ──
  Error in `lua_func("function(e) return e end", "&E")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(e) return e end", "&E") at test-environment.R:146:5
  ── Error ('test-environment.R:155:5'): environment set from Lua is visible in R ──
  Error in `lua_func("function(e) e:set('y', 99) end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(e) e:set('y', 99) end", ".") at test-environment.R:155:5
  ── Error ('test-func.R:4:5'): functions work ───────────────────────────────────
  Error in `lua_func("table.concat", "$V, $C")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("table.concat", "$V, $C") at test-func.R:4:5
  ── Error ('test-func.R:9:5'): pass by reference works ──────────────────────────
  Error in `lua_func("function(x) return x end", "&.")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "&.") at test-func.R:9:5
  ── Error ('test-func.R:26:5'): pass by value (alias) works ─────────────────────
  Error in `lua_func("function(x) return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", ".") at test-func.R:26:5
  ── Error ('test-func.R:43:5'): typed argcodes work ─────────────────────────────
  Error in `lua_func("function(x) return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", ".") at test-func.R:43:5
  ── Error ('test-func.R:62:5'): coercion between integer and numeric works ──────
  Error in `lua_func("function(x) return x end", "N")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:62:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", "N")
  ── Error ('test-func.R:81:5'): native scalar argcodes work ─────────────────────
  Error in `lua_func("function(x) return type(x) end", "$N")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:81:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return type(x) end", "$N")
  ── Error ('test-func.R:104:5'): native scalar pushes nil for NA ────────────────
  Error in `lua_func("function(x) return x end", "$L")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_null(lua_func("function(x) return x end", "$L")(NA)) at test-func.R:104:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", "$L")
  ── Error ('test-func.R:111:5'): native value converts scalars and tables ───────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-func.R:111:5
  ── Error ('test-func.R:132:5'): native list ($V) converts any vector to table ──
  Error in `lua_func("function(x) return x[1] + x[2] end", "$V")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:132:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x[1] + x[2] end", "$V")
  ── Error ('test-func.R:142:5'): byref argcode works with typed codes ───────────
  Error in `lua_func("function(x) x[1] = 99 end", "&N")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) x[1] = 99 end", "&N") at test-func.R:142:5
  ── Error ('test-func.R:152:5'): 'X' argcode pushes SEXP cdata directly ─────────
  Error in `lua("ffi = require('ffi'); R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("ffi = require('ffi'); R = require('R')") at test-func.R:152:5
  ── Error ('test-func.R:171:5'): environment argcode works ──────────────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-func.R:171:5
  ── Error ('test-func.R:178:5'): function argcode works ─────────────────────────
  Error in `lua_func("function(fn) return luajr.is_rfunction(fn) end", "F")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-func.R:178:5
  ── Error ('test-func.R:185:5'): native function argcode wraps R function as Lua function ──
  Error in `lua_func("function(fn) return type(fn) end", "$F")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:185:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(fn) return type(fn) end", "$F")
  ── Error ('test-func.R:196:5'): native function argcode passes Lua function externalptr as-is ──
  Error in `lua_func("function() return function(x) return x * 2 end end")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function() return function(x) return x * 2 end end") at test-func.R:196:5
  ── Error ('test-func.R:206:5'): native function argcode rejects non-functions ──
  Error in `lua_func("function(fn) return fn end", "$F")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(fn) return fn end", "$F") at test-func.R:206:5
  ── Error ('test-func.R:213:5'): pointer argcode works ──────────────────────────
  Error in `lua_open()`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_open() at test-func.R:213:5
  ── Error ('test-func.R:229:5'): returning a Lua function works ─────────────────
  Error in `lua_func("function() return function(x) return x * 2 end end")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function() return function(x) return x * 2 end end") at test-func.R:229:5
  ── Error ('test-func.R:242:5'): returning luajr vector cdata works ─────────────
  Error in `lua_func("function() local v = luajr.logical(3); v[1]=true; v[2]=false; v[3]=true; return v end")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:242:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function() local v = luajr.logical(3); v[1]=true; v[2]=false; v[3]=true; return v end")
  ── Error ('test-func.R:265:5'): multiple argcodes work ─────────────────────────
  Error in `lua_func("function(x, y) return x[1] + y end", "N, $I")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x, y) return x[1] + y end", "N, $I") at test-func.R:265:5
  ── Error ('test-func.R:277:5'): argcode recycling works ────────────────────────
  Error in `lua_func("function(x, y, z) return x[1] + y[1] + z[1] end", "N")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-func.R:277:5
  ── Error ('test-func.R:282:5'): passing NA in vectors round-trips correctly ────
  Error in `lua_func("function(x) return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:282:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", ".")
  ── Error ('test-func.R:294:5'): long-form argcodes work ────────────────────────
  Error in `lua_func("function(x) return x end", "numeric")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-func.R:294:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", "numeric")
  ── Error ('test-integer.R:2:5'): integer vector basics work ────────────────────
  Error in `lua("x = luajr.integer()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer()") at test-integer.R:2:5
  ── Error ('test-integer.R:19:5'): integer vector truncation ────────────────────
  Error in `lua("x = luajr.integer(1, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer(1, 0)") at test-integer.R:19:5
  ── Error ('test-integer.R:26:5'): integer vector push_back and insert work ─────
  Error in `lua("x = luajr.integer()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer()") at test-integer.R:26:5
  ── Error ('test-integer.R:44:5'): integer vector NA values ─────────────────────
  Error in `lua_func("function(x) return x end", "&integer")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-integer.R:44:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", "&integer")
  ── Error ('test-is_na.R:2:5'): logical:is_na detects NA elements ───────────────
  Error in `lua("x = luajr.logical({luajr.TRUE, luajr.NA_logical_, luajr.FALSE})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical({luajr.TRUE, luajr.NA_logical_, luajr.FALSE})") at test-is_na.R:2:5
  ── Error ('test-is_na.R:11:5'): integer:is_na detects NA elements ──────────────
  Error in `lua("x = luajr.integer({1, luajr.NA_integer_, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer({1, luajr.NA_integer_, 3})") at test-is_na.R:11:5
  ── Error ('test-is_na.R:20:5'): numeric:is_na detects NA_real_ ─────────────────
  Error in `lua("x = luajr.numeric({1.5, luajr.NA_real_, 3.5})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1.5, luajr.NA_real_, 3.5})") at test-is_na.R:20:5
  ── Error ('test-is_na.R:29:5'): numeric:is_na also returns true for arbitrary NaN (matches R's is.na) ──
  Error in `lua("x = luajr.numeric({1.0, 0/0, 2.0})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1.0, 0/0, 2.0})") at test-is_na.R:29:5
  ── Error ('test-is_na.R:38:5'): character:is_na detects NA_character_ ──────────
  Error in `lua("x = luajr.character({'a', luajr.NA_character_, 'c'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'a', luajr.NA_character_, 'c'})") at test-is_na.R:38:5
  ── Error ('test-is_na.R:47:5'): list:is_na errors ──────────────────────────────
  Error in `lua("x = luajr.list({1, 2, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list({1, 2, 3})") at test-is_na.R:47:5
  ── Error ('test-is_na.R:54:5'): is_na on a vector arriving from R with NAs ─────
  Error in `lua_func("function(x) return x:is_na(2) end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x:is_na(2) end", ".") at test-is_na.R:54:5
  ── Error ('test-list.R:11:5'): luajr.list construction and basic ops ───────────
  Error in `lua("ffi = require('ffi'); R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("ffi = require('ffi'); R = require('R')") at test-list.R:11:5
  ── Error ('test-list.R:37:5'): luajr.list named element access via find/get/set ──
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-list.R:37:5
  ── Error ('test-list.R:63:5'): luajr.list integer index assignment overwrites in place ──
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-list.R:63:5
  ── Error ('test-list.R:78:5'): luajr.list round-trips R lists by reference and value ──
  Error in `lua_func("function(x) return x end", "&V")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "&V") at test-list.R:78:5
  ── Error ('test-list.R:89:5'): luajr.list :set_attr sets attributes on the underlying SEXP ──
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-list.R:89:5
  ── Error ('test-list.R:100:5'): luajr.list constructs nested lists from nested tables ──
  Error in `lua("return luajr.list({true, false, {true, 1, 0}})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("return luajr.list({true, false, {true, 1, 0}})") at test-list.R:100:5
  ── Error ('test-list.R:107:5'): luajr.list nested list preserves names in sub-tables ──
  Error in `lua("return luajr.list({a = 1, b = {x = 10, y = 20}})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("return luajr.list({a = 1, b = {x = 10, y = 20}})") at test-list.R:107:5
  ── Error ('test-list.R:115:5'): luajr.list handles deeply nested tables ────────
  Error in `lua("return luajr.list({1, {2, {3, {4, 5}}}})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("return luajr.list({1, {2, {3, {4, 5}}}})") at test-list.R:115:5
  ── Error ('test-list.R:122:5'): luajr.list nested mixed types work ─────────────
  Error in `lua("return luajr.list({'hello', {1, 2}, true, {{10}, 'inner'}})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("return luajr.list({'hello', {1, 2}, true, {{10}, 'inner'}})") at test-list.R:122:5
  ── Error ('test-list.R:129:5'): push_back of a Lua table converts to nested list ──
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-list.R:129:5
  ── Error ('test-list.R:140:5'): luajr.list:insert with no a, b is a no-op ──────
  Error in `lua("l = luajr.list({1, 2, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("l = luajr.list({1, 2, 3})") at test-list.R:140:5
  ── Error ('test-list.R:148:5'): luajr.list:insert from a bare SEXP ─────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-list.R:148:5
  ── Error ('test-list.R:163:5'): luajr.list:insert n copies of nil inserts NULLs ──
  Error in `lua("l = luajr.list({1, 4, 5})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("l = luajr.list({1, 4, 5})") at test-list.R:163:5
  ── Error ('test-logical.R:2:5'): logical vector basics work ────────────────────
  Error in `lua("x = luajr.logical()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical()") at test-logical.R:2:5
  ── Error ('test-logical.R:19:5'): logical vector push_back and insert work ─────
  Error in `lua("x = luajr.logical()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical()") at test-logical.R:19:5
  ── Error ('test-logical.R:37:5'): logical vector NA values ─────────────────────
  Error in `lua_func("function(x) return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-logical.R:37:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua_func("function(x) return x end", ".")
  ── Error ('test-lua.R:5:5'): lua() returns basic types ─────────────────────────
  Error in `lua("return glarblefleegle")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_null(lua("return glarblefleegle")) at test-lua.R:5:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return glarblefleegle")
  ── Error ('test-lua.R:27:5'): lua() can run a file ─────────────────────────────
  Error in `lua(filename = test_path("files", "root2.lua"))`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-lua.R:27:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua(filename = test_path("files", "root2.lua"))
  ── Error ('test-lua.R:32:5'): lua() produces errors ────────────────────────────
  Error in `lua("a")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_error(lua("a"), "'=' expected near '<eof>'") at test-lua.R:32:5
   2. │ └─testthat:::expect_condition_matching_(...)
   3. │   └─testthat:::quasi_capture(...)
   4. │     ├─testthat (local) .capture(...)
   5. │     │ └─base::withCallingHandlers(...)
   6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─luajr::lua("a")
  ── Error ('test-module.R:3:14'): modules work ──────────────────────────────────
  Error in `lua_open()`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_match(greets("Nick"), "Nice one") at test-module.R:5:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr (local) greets("Nick")
   5.   └─luajr::lua_import(mymod, "greets", "$.") at test-module.R:3:14
   6.     └─luajr:::load_module(module)
   7.       └─luajr::lua_open()
  ── Error ('test-names.R:3:5'): construction preserves and omits names ──────────
  Error in `lua("return luajr.numeric()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_null(names(lua("return luajr.numeric()"))) at test-names.R:3:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return luajr.numeric()")
  ── Error ('test-names.R:23:5'): copy construction from cross-type vector preserves names ──
  Error in `lua("x = luajr.integer({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer({10, 20, 30})") at test-names.R:23:5
  ── Error ('test-names.R:34:5'): assign fill clears names ───────────────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:34:5
  ── Error ('test-names.R:43:5'): assign fill clears names (allocate path) ───────
  Error in `lua("x = luajr.numeric({1, 2})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1, 2})") at test-names.R:43:5
  ── Error ('test-names.R:53:5'): assign from same-type vector copies names ──────
  Error in `lua("x = luajr.numeric(5, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(5, 0)") at test-names.R:53:5
  ── Error ('test-names.R:71:5'): assign from same-type vector without names clears names ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:71:5
  ── Error ('test-names.R:81:5'): assign from cross-type vector copies names ─────
  Error in `lua("x = luajr.numeric(5, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(5, 0)") at test-names.R:81:5
  ── Error ('test-names.R:93:5'): assign from Lua table clears names ─────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:93:5
  ── Error ('test-names.R:102:5'): reserve preserves names ───────────────────────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:102:5
  ── Error ('test-names.R:113:5'): shrink_to_fit preserves names ─────────────────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:113:5
  ── Error ('test-names.R:125:5'): clear drops names ─────────────────────────────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:125:5
  ── Error ('test-names.R:135:5'): push_back blanks new name slot ────────────────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:135:5
  ── Error ('test-names.R:146:5'): push_back after pop_back doesn't inherit ghost name ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:146:5
  ── Error ('test-names.R:158:5'): push_back triggers allocate and preserves names ──
  Error in `lua("x = luajr.numeric({10})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10})") at test-names.R:158:5
  ── Error ('test-names.R:170:5'): pop_back shrinks without corrupting names ─────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:170:5
  ── Error ('test-names.R:181:5'): insert fill shifts names, gap is blank (in-place) ──
  Error in `lua("x = luajr.numeric(5, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(5, 0)") at test-names.R:181:5
  ── Error ('test-names.R:193:5'): insert fill shifts names, gap is blank (allocate) ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:193:5
  ── Error ('test-names.R:204:5'): insert from same-type vector copies source names into gap ──
  Error in `lua("x = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(10, 0)") at test-names.R:204:5
  ── Error ('test-names.R:218:5'): insert from same-type vector without names leaves gap blank ──
  Error in `lua("x = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(10, 0)") at test-names.R:218:5
  ── Error ('test-names.R:231:5'): insert from same-type vector (allocate path) copies source names ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:231:5
  ── Error ('test-names.R:244:5'): insert from cross-type vector copies source names ──
  Error in `lua("x = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(10, 0)") at test-names.R:244:5
  ── Error ('test-names.R:258:5'): insert from Lua table leaves gap blank ────────
  Error in `lua("x = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(10, 0)") at test-names.R:258:5
  ── Error ('test-names.R:270:5'): insert at beginning and end shifts names correctly ──
  Error in `lua("x = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(10, 0)") at test-names.R:270:5
  ── Error ('test-names.R:290:5'): erase shifts names left (in-place, owned) ─────
  Error in `lua("x = luajr.numeric({10, 20, 30, 40, 50})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30, 40, 50})") at test-names.R:290:5
  ── Error ('test-names.R:301:5'): erase single element shifts names (in-place) ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:301:5
  ── Error ('test-names.R:312:5'): erase on alias vector shifts names (allocate path) ──
  Error in `lua_func("function(x) x:erase(2); return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) x:erase(2); return x end", ".") at test-names.R:312:5
  ── Error ('test-names.R:322:5'): resize grow without val blanks new names ──────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:322:5
  ── Error ('test-names.R:333:5'): resize grow with val blanks new names ─────────
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-names.R:333:5
  ── Error ('test-names.R:344:5'): resize shrink truncates names ─────────────────
  Error in `lua("x = luajr.numeric({10, 20, 30, 40})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30, 40})") at test-names.R:344:5
  ── Error ('test-names.R:355:5'): detach preserves names ────────────────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:355:5
  ── Error ('test-names.R:366:5'): operations on unnamed vectors stay unnamed ────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:366:5
  ── Error ('test-names.R:386:5'): names work with character vectors ─────────────
  Error in `lua("x = luajr.character({'hello', 'world'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'hello', 'world'})") at test-names.R:386:5
  ── Error ('test-names.R:407:5'): names work with integer vectors ───────────────
  Error in `lua("x = luajr.integer({1, 2, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer({1, 2, 3})") at test-names.R:407:5
  ── Error ('test-names.R:423:5'): names work with logical vectors ───────────────
  Error in `lua("x = luajr.logical({true, false, true})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical({true, false, true})") at test-names.R:423:5
  ── Error ('test-names.R:435:5'): names work with list vectors ──────────────────
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-names.R:435:5
  ── Error ('test-names.R:455:5'): lua_func byref round-trip preserves names ─────
  Error in `lua_func("function(x) return x end", "&.")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "&.") at test-names.R:455:5
  ── Error ('test-names.R:463:5'): lua_func alias round-trip preserves names ─────
  Error in `lua_func("function(x) return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", ".") at test-names.R:463:5
  ── Error ('test-names.R:471:5'): combined insert-erase sequence keeps names consistent ──
  Error in `lua("x = luajr.numeric({10, 20, 30, 40, 50})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30, 40, 50})") at test-names.R:471:5
  ── Error ('test-names.R:501:5'): unname drops names on owned vector ────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:501:5
  ── Error ('test-names.R:511:5'): unname on unnamed vector is a no-op ───────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:511:5
  ── Error ('test-names.R:519:5'): unname on alias vector detaches and drops names ──
  Error in `lua_func("function(x) x:unname(); return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) x:unname(); return x end", ".") at test-names.R:519:5
  ── Error ('test-names.R:531:5'): pop_back on alias preserves names ─────────────
  Error in `lua_func("function(x) x:pop_back(); return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) x:pop_back(); return x end", ".") at test-names.R:531:5
  ── Error ('test-names.R:541:5'): clear on alias drops names ────────────────────
  Error in `lua_func("function(x) x:clear(); x:push_back(99); return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-names.R:541:5
  ── Error ('test-names.R:550:5'): assign cross-type vector without names clears names ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:550:5
  ── Error ('test-names.R:560:5'): assign cross-type vector copies names (allocate path) ──
  Error in `lua("x = luajr.numeric(1, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(1, 0)") at test-names.R:560:5
  ── Error ('test-names.R:572:5'): assign Lua table clears names (allocate path) ──
  Error in `lua("x = luajr.numeric({1, 2})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1, 2})") at test-names.R:572:5
  ── Error ('test-names.R:581:5'): __newindex on alias preserves names after COW ──
  Error in `lua_func("function(x) x[2] = 99; return x end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) x[2] = 99; return x end", ".") at test-names.R:581:5
  ── Error ('test-names.R:591:5'): erase first element shifts names ──────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:591:5
  ── Error ('test-names.R:602:5'): erase last element preserves preceding names ──
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-names.R:602:5
  ── Error ('test-numeric.R:3:5'): numeric vector metamethods work ───────────────
  Error in `lua("x0 = luajr.numeric()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x0 = luajr.numeric()") at test-numeric.R:3:5
  ── Error ('test-numeric.R:32:5'): numeric vector assign works ──────────────────
  Error in `lua("local x = luajr.numeric(2, 0); x:assign(); return x:debug_str()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-numeric.R:32:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("local x = luajr.numeric(2, 0); x:assign(); return x:debug_str()")
  ── Error ('test-numeric.R:44:5'): numeric vector capacity methods work ─────────
  Error in `lua("x = luajr.numeric()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric()") at test-numeric.R:44:5
  ── Error ('test-numeric.R:54:5'): numeric vector resize works ──────────────────
  Error in `lua("x = luajr.numeric(2, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(2, 0)") at test-numeric.R:54:5
  ── Error ('test-numeric.R:68:5'): numeric push_back and pop_back work ──────────
  Error in `lua("x = luajr.numeric(2, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(2, 0)") at test-numeric.R:68:5
  ── Error ('test-numeric.R:85:5'): numeric insert and erase work ────────────────
  Error in `lua("x = luajr.numeric({1,2,3,4,5,6,7})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1,2,3,4,5,6,7})") at test-numeric.R:85:5
  ── Error ('test-numeric.R:136:5'): numeric vector copy independence ────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-numeric.R:136:5
  ── Error ('test-numeric.R:145:5'): numeric vector NA values ────────────────────
  Error in `lua("x = luajr.numeric(3, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric(3, 0)") at test-numeric.R:145:5
  ── Error ('test-numeric.R:153:5'): numeric vector stress test ──────────────────
  Error in `lua("x = luajr.numeric()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric()") at test-numeric.R:153:5
  ── Error ('test-parallel.R:2:5'): workers can be created and closed ────────────
  Error in `lua("pool = luajr.workers(2)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("pool = luajr.workers(2)") at test-parallel.R:2:5
  ── Error ('test-parallel.R:10:5'): workers:srun passes arguments to workers ────
  Error in `lua("output = luajr.numeric(4, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(4, 0)") at test-parallel.R:10:5
  ── Error ('test-parallel.R:20:5'): workers:srun with nil reuses preloaded function ──
  Error in `lua("output = luajr.numeric(2, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(2, 0)") at test-parallel.R:20:5
  ── Error ('test-parallel.R:32:5'): workers:srun transfers tables ───────────────
  Error in `lua("pool = luajr.workers(2)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("pool = luajr.workers(2)") at test-parallel.R:32:5
  ── Error ('test-parallel.R:42:5'): workers ncores returns positive integer ─────
  Error in `lua("return luajr.ncores()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_true(lua("return luajr.ncores()") >= 1) at test-parallel.R:42:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return luajr.ncores()")
  ── Error ('test-parallel.R:48:5'): workers:prun runs function in each worker in parallel ──
  Error in `lua("output = luajr.numeric(4, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(4, 0)") at test-parallel.R:48:5
  ── Error ('test-parallel.R:59:5'): workers:prun with nil reuses preloaded function ──
  Error in `lua("output = luajr.numeric(2, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(2, 0)") at test-parallel.R:59:5
  ── Error ('test-parallel.R:71:5'): workers:pfor distributes work across workers ──
  Error in `lua("output = luajr.numeric(100, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(100, 0)") at test-parallel.R:71:5
  ── Error ('test-parallel.R:82:5'): workers:pfor with nil reuses preloaded function ──
  Error in `lua("output = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(10, 0)") at test-parallel.R:82:5
  ── Error ('test-parallel.R:94:5'): workers:pfor passes thread_id as last arg ───
  Error in `lua("output = luajr.numeric(20, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(20, 0)") at test-parallel.R:94:5
  ── Error ('test-parallel.R:107:5'): workers:srun can load modules then pfor uses them ──
  Error in `lua("output = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(10, 0)") at test-parallel.R:107:5
  ── Error ('test-parallel.R:118:5'): workers:pfor with single worker works ──────
  Error in `lua("output = luajr.numeric(10, 0)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("output = luajr.numeric(10, 0)") at test-parallel.R:118:5
  ── Error ('test-parallel.R:128:5'): workers:srun recovers from error ───────────
  Error in `lua("pool = luajr.workers(2)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("pool = luajr.workers(2)") at test-parallel.R:128:5
  ── Error ('test-parallel.R:140:5'): workers:prun recovers from error ───────────
  Error in `lua("pool = luajr.workers(2)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("pool = luajr.workers(2)") at test-parallel.R:140:5
  ── Error ('test-parallel.R:153:5'): workers:pfor recovers from error ───────────
  Error in `lua("pool = luajr.workers(2)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("pool = luajr.workers(2)") at test-parallel.R:153:5
  ── Error ('test-rfunction.R:2:5'): rfunction from SEXP is callable ─────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rfunction.R:2:5
  ── Error ('test-rfunction.R:11:5'): rfunction from string looks up in global env ──
  Error in `lua("f = luajr.rfunction('mean')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('mean')") at test-rfunction.R:11:5
  ── Error ('test-rfunction.R:19:5'): rfunction from string with namespace env ───
  Error in `lua("f = luajr.rfunction('sum', 'base')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum', 'base')") at test-rfunction.R:19:5
  ── Error ('test-rfunction.R:27:5'): rfunction with multiple arguments ──────────
  Error in `lua("f = luajr.rfunction('paste0')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste0')") at test-rfunction.R:27:5
  ── Error ('test-rfunction.R:34:5'): rfunction with no arguments ────────────────
  Error in `lua("f = luajr.rfunction('Sys.time')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('Sys.time')") at test-rfunction.R:34:5
  ── Error ('test-rfunction.R:42:5'): rfunction returns vector types correctly ───
  Error in `lua("f = luajr.rfunction('seq_len')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('seq_len')") at test-rfunction.R:42:5
  ── Error ('test-rfunction.R:49:5'): rfunction returns list correctly ───────────
  Error in `lua("f = luajr.rfunction('list')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('list')") at test-rfunction.R:49:5
  ── Error ('test-rfunction.R:56:5'): rfunction callable from Lua repeatedly ─────
  Error in `lua("f = luajr.rfunction('sqrt')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sqrt')") at test-rfunction.R:56:5
  ── Error ('test-rfunction.R:65:5'): rfunction with vector argument ─────────────
  Error in `lua("f = luajr.rfunction('sum')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum')") at test-rfunction.R:65:5
  ── Error ('test-rfunction.R:84:5'): rfunction retrieved from environment is callable ──
  Error in `lua("e = luajr.environment('stats')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("e = luajr.environment('stats')") at test-rfunction.R:84:5
  ── Error ('test-rfunction.R:92:5'): R function passed via '&.' argcode arrives as rfunction ──
  Error in `lua_func("function(fn) return luajr.is_rfunction(fn) end", "&.")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-rfunction.R:92:5
  ── Error ('test-rfunction.R:99:5'): R function passed via '.' argcode is callable ──
  Error in `lua_func("function(fn) return fn(luajr.numeric({1, 2, 3})) end", ".")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func(...) at test-rfunction.R:99:5
  ── Error ('test-rfunction.R:106:5'): R function round-trips via '!F' argcode ───
  Error in `lua_func("function(fn) return fn end", "!F")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(fn) return fn end", "!F") at test-rfunction.R:106:5
  ── Error ('test-rfunction.R:114:5'): rfunction :call with only positional args matches __call ──
  Error in `lua("f = luajr.rfunction('sum')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum')") at test-rfunction.R:114:5
  ── Error ('test-rfunction.R:124:5'): rfunction :call with named args reaches R ──
  Error in `lua("f = luajr.rfunction('paste')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste')") at test-rfunction.R:124:5
  ── Error ('test-rfunction.R:133:5'): rfunction :call with named args interleaved (positional order preserved) ──
  Error in `lua("f = luajr.rfunction('paste')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste')") at test-rfunction.R:133:5
  ── Error ('test-rfunction.R:140:5'): rfunction :call with na.rm named arg changes behaviour ──
  Error in `lua("f = luajr.rfunction('sum')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum')") at test-rfunction.R:140:5
  ── Error ('test-rfunction.R:150:5'): rfunction :call with luajr.environment as eval env ──
  Error in `lua("f = luajr.rfunction('sum')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum')") at test-rfunction.R:150:5
  ── Error ('test-rfunction.R:158:5'): rfunction :call with bare R.GlobalEnv as eval env ──
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rfunction.R:158:5
  ── Error ('test-rfunction.R:166:5'): rfunction :call with empty args table ─────
  Error in `lua("f = luajr.rfunction('Sys.time')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('Sys.time')") at test-rfunction.R:166:5
  ── Error ('test-rfunction.R:174:5'): rfunction :call errors on out-of-range integer key ──
  Error in `lua("f = luajr.rfunction('paste0')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste0')") at test-rfunction.R:174:5
  ── Error ('test-rfunction.R:181:5'): rfunction :call errors on non-string non-integer key ──
  Error in `lua("f = luajr.rfunction('paste0')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste0')") at test-rfunction.R:181:5
  ── Error ('test-rfunction.R:188:5'): rfunction :call errors when env arg is not an environment ──
  Error in `lua("f = luajr.rfunction('sum')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('sum')") at test-rfunction.R:188:5
  ── Error ('test-rfunction.R:196:5'): rfunction __call (positional varargs) supports many positional args ──
  Error in `lua("f = luajr.rfunction('paste0')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("f = luajr.rfunction('paste0')") at test-rfunction.R:196:5
  ── Error ('test-rmodule.R:2:5'): R.length works ────────────────────────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rmodule.R:2:5
  ── Error ('test-rmodule.R:11:5'): R.type_string works ──────────────────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rmodule.R:11:5
  ── Error ('test-rmodule.R:35:5'): R constants are accessible ───────────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rmodule.R:35:5
  ── Error ('test-rmodule.R:52:5'): R SEXPTYPEs match TYPEOF ─────────────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-rmodule.R:52:5
  ── Error ('test-sexp.R:2:5'): SEXP round-trip works for language objects ───────
  Error in `lua_func("function(x) return x end", "S")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "S") at test-sexp.R:2:5
  ── Error ('test-sexp.R:9:5'): SEXP preserves attributes on environment round-trip ──
  Error in `lua_func("function(x) return x end", "S")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "S") at test-sexp.R:9:5
  ── Error ('test-sexp.R:19:5'): SEXP can be inspected via R module ──────────────
  Error in `lua("R = require('R')")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("R = require('R')") at test-sexp.R:19:5
  ── Error ('test-sexp.R:29:5'): SEXP works with function type ───────────────────
  Error in `lua_func("function(x) return x end", "S")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x end", "S") at test-sexp.R:29:5
  ── Error ('test-state.R:3:5'): states can be opened ────────────────────────────
  Error in `lua_open()`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_open() at test-state.R:3:5
  ── Error ('test-state.R:13:5'): states are independent ─────────────────────────
  Error in `lua_open()`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_open() at test-state.R:13:5
  ── Error ('test-state.R:24:5'): state pointers can be shallow copied ───────────
  Error in `lua_open()`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_open() at test-state.R:24:5
  ── Error ('test-state.R:38:5'): states can be reset ────────────────────────────
  Error in `lua("animal = 'fish'")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("animal = 'fish'") at test-state.R:38:5
  ── Error ('test-subset.R:2:5'): numeric __call extracts single element ─────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-subset.R:2:5
  ── Error ('test-subset.R:10:5'): integer __call extracts single element ────────
  Error in `lua("x = luajr.integer({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer({10, 20, 30})") at test-subset.R:10:5
  ── Error ('test-subset.R:17:5'): logical __call extracts single element ────────
  Error in `lua("x = luajr.logical({true, false, true})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical({true, false, true})") at test-subset.R:17:5
  ── Error ('test-subset.R:24:5'): character __call extracts single element ──────
  Error in `lua("x = luajr.character({'a', 'b', 'c'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'a', 'b', 'c'})") at test-subset.R:24:5
  ── Error ('test-subset.R:31:5'): numeric NA round-trips via __call ─────────────
  Error in `lua("x = luajr.numeric({1, luajr.NA_real_, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({1, luajr.NA_real_, 3})") at test-subset.R:31:5
  ── Error ('test-subset.R:38:5'): integer NA round-trips via __call ─────────────
  Error in `lua("x = luajr.integer({1, luajr.NA_integer_, 3})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.integer({1, luajr.NA_integer_, 3})") at test-subset.R:38:5
  ── Error ('test-subset.R:45:5'): logical NA round-trips via __call ─────────────
  Error in `lua("x = luajr.logical({true, luajr.NA_logical_, false})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.logical({true, luajr.NA_logical_, false})") at test-subset.R:45:5
  ── Error ('test-subset.R:52:5'): character NA round-trips via __call ───────────
  Error in `lua("x = luajr.character({'a', luajr.NA_character_, 'c'})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.character({'a', luajr.NA_character_, 'c'})") at test-subset.R:52:5
  ── Error ('test-subset.R:59:5'): __call out of bounds returns NA ───────────────
  Error in `lua("return luajr.numeric({1, 2, 3})(10)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-subset.R:59:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return luajr.numeric({1, 2, 3})(10)")
  ── Error ('test-subset.R:68:5'): __call with named access works ────────────────
  Error in `lua("x = luajr.numeric({10, 20, 30})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20, 30})") at test-subset.R:68:5
  ── Error ('test-subset.R:77:5'): __call with named access returns NA for missing name ──
  Error in `lua("x = luajr.numeric({10, 20})")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.numeric({10, 20})") at test-subset.R:77:5
  ── Error ('test-subset.R:87:5'): __call NA round-trip through lua_func ─────────
  Error in `lua_func("function(x) return x(2) end", "N")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua_func("function(x) return x(2) end", "N") at test-subset.R:87:5
  ── Error ('test-subset.R:103:5'): list __call extracts single element ──────────
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-subset.R:103:5
  ── Error ('test-subset.R:115:5'): list __call out of bounds returns NULL ───────
  Error in `lua("x = luajr.list()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.list()") at test-subset.R:115:5
  ── Error ('test-types.R:2:5'): returning R types works ─────────────────────────
  Error in `lua("return luajr.logical(3, true)")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-types.R:2:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return luajr.logical(3, true)")
  ── Error ('test-types.R:16:5'): extra types work ───────────────────────────────
  Error in `lua("x = luajr.dataframe()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. └─luajr::lua("x = luajr.dataframe()") at test-types.R:16:5
  ── Error ('test-types.R:43:5'): typed NA constructors round-trip correctly ─────
  Error in `lua("return luajr.NA_logical()")`: Runtime error in R module from luajr_newstate(): R module:0: /data/gannet/ripley/R/packages/tests-devel/luajr.Rcheck/luajr/libs/luajr.so: undefined symbol: Rf_allocVector
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-types.R:43:5
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─luajr::lua("return luajr.NA_logical()")
  
  [ FAIL 202 | WARN 0 | SKIP 0 | PASS 12 ]
  Error:
  ! Test failures.
  Execution halted