Running ‘testthat.R’ [15s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(unifir)
  > Sys.setenv("unifir_debugmode" = "true")
  > test_check("unifir")
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 6 | PASS 187 ]
  
  ══ Skipped tests (6) ═══════════════════════════════════════════════════════════
  • On CRAN (6): 'test-add_default_tree.R:2:3', 'test-add_default_tree.R:87:3',
    'test-add_player.R:2:3', 'test-add_player.R:86:3', 'test-get_asset.R:2:3',
    'test-not_on_ci.R:3:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-add_texture.R:92:3'): add_texture actions as expected ──────────
  Error in `eval(call("force", as.symbol(paste0("..", x))))`: argument "..3" is missing, with no default
  Backtrace:
       ▆
    1. └─unifir::action(script) at test-add_texture.R:92:3
    2.   └─script$props[[i]]$build(script, script$props[[i]], debug)
    3.     └─glue::glue(...)
    4.       └─glue::glue_data(...)
    5.         └─base::lapply(...)
    6.           └─glue (local) FUN(X[[i]], ...)
    7.             ├─eval(call("force", as.symbol(paste0("..", x)))) %||% .null
    8.             ├─base::eval(call("force", as.symbol(paste0("..", x))))
    9.             │ └─base::eval(call("force", as.symbol(paste0("..", x))))
   10.             └─base::force(..3)
  ── Error ('test-create_terrain.R:104:3'): create_terrain actions as expected ───
  Error in `eval(call("force", as.symbol(paste0("..", x))))`: argument "..3" is missing, with no default
  Backtrace:
       ▆
    1. └─unifir::action(script) at test-create_terrain.R:104:3
    2.   └─script$props[[i]]$build(script, script$props[[i]], debug)
    3.     └─glue::glue(...)
    4.       └─glue::glue_data(...)
    5.         └─base::lapply(...)
    6.           └─glue (local) FUN(X[[i]], ...)
    7.             ├─eval(call("force", as.symbol(paste0("..", x)))) %||% .null
    8.             ├─base::eval(call("force", as.symbol(paste0("..", x))))
    9.             │ └─base::eval(call("force", as.symbol(paste0("..", x))))
   10.             └─base::force(..3)
  ── Error ('test-load_png.R:71:3'): load_png actions as expected ────────────────
  Error in `eval(call("force", as.symbol(paste0("..", x))))`: argument "..3" is missing, with no default
  Backtrace:
       ▆
    1. └─unifir::action(script) at test-load_png.R:71:3
    2.   └─script$props[[i]]$build(script, script$props[[i]], debug)
    3.     └─glue::glue(...)
    4.       └─glue::glue_data(...)
    5.         └─base::lapply(...)
    6.           └─glue (local) FUN(X[[i]], ...)
    7.             ├─eval(call("force", as.symbol(paste0("..", x)))) %||% .null
    8.             ├─base::eval(call("force", as.symbol(paste0("..", x))))
    9.             │ └─base::eval(call("force", as.symbol(paste0("..", x))))
   10.             └─base::force(..3)
  ── Error ('test-read_raw.R:77:3'): read_raw actions as expected ────────────────
  Error in `eval(call("force", as.symbol(paste0("..", x))))`: argument "..3" is missing, with no default
  Backtrace:
       ▆
    1. └─unifir::action(script) at test-read_raw.R:77:3
    2.   └─script$props[[i]]$build(script, script$props[[i]], debug)
    3.     └─glue::glue(...)
    4.       └─glue::glue_data(...)
    5.         └─base::lapply(...)
    6.           └─glue (local) FUN(X[[i]], ...)
    7.             ├─eval(call("force", as.symbol(paste0("..", x)))) %||% .null
    8.             ├─base::eval(call("force", as.symbol(paste0("..", x))))
    9.             │ └─base::eval(call("force", as.symbol(paste0("..", x))))
   10.             └─base::force(..3)
  
  [ FAIL 4 | WARN 0 | SKIP 6 | PASS 187 ]
  Error: Test failures
  Execution halted