Running ‘testthat.R’ [182s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (require(testthat, quietly = TRUE)) {
  +   test_check("inlabru")
  + }
  Loading required package: inlabru
  Loading required package: fmesher
  Starting 2 test processes.
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  Saving _problems/test-component-407.R
  Saving _problems/test-data-76.R
  > test-environment.R: Test message 1
  > test-environment.R: Test message 2
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-aggregate.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-aggregate.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_
  > test-aggregate.R: ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  Saving _problems/test-aggregate-309.R
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 4 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 4 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  > test-mdata.R: OMP: Warning #96: Cannot form a team with 3 threads, using 2 instead.
  > test-mdata.R: OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  [ FAIL 3 | WARN 0 | SKIP 55 | PASS 182 ]
  
  ══ Skipped tests (55) ══════════════════════════════════════════════════════════
  • On CRAN (55): 'test-01_lgcp_2d.R:2:3', 'test-01_lgcp_2d.R:140:3',
    'test-02_predict.R:2:3', 'test-02_predict.R:128:3', 'test-additive.R:2:3',
    'test-bru_sf.R:4:3', 'test-component.R:226:3', 'test-component.R:294:3',
    'test-component.R:322:3', 'test-component.R:361:3', 'test-component.R:417:3',
    'test-copy.R:2:3', 'test-copy.R:126:3', 'test-copy.R:188:3',
    'test-data.R:5:3', 'test-data.R:87:3', 'test-fmesher_pixels.R:2:3',
    'test-globe_mesh.R:2:3', 'test-globe_mesh.R:62:3', 'test-latent_ar1.R:75:3',
    'test-latent_clinear.R:2:3', 'test-latent_factor.R:2:3',
    'test-latent_factor.R:103:3', 'test-latent_fixed_effects.R:2:3',
    'test-latent_fixed_effects.R:24:3', 'test-latent_fixed_effects.R:50:3',
    'test-latent_fixed_effects.R:71:3', 'test-latent_fixed_effects.R:98:3',
    'test-latent_linear.R:2:3', 'test-latent_linear.R:34:3',
    'test-latent_rw2.R:2:3', 'test-latent_rw2.R:32:3',
    'test-latent_spde_1d.R:31:3', 'test-latent_spde_2d.R:2:3',
    'test-latent_spde_2d.R:97:3', 'test-lgcp_1d.R:28:3', 'test-lgcp_1d.R:105:3',
    'test-lgcp_1d.R:156:3', 'test-lgcp_1d_nonlinear.R:2:3',
    'test-lgcp_1d_nonlinear.R:169:3', 'test-lgcp_2d_covars.R:2:3',
    'test-lgcp_2d_plotsample.R:2:3', 'test-linearisation.R:2:3',
    'test-mapper.R:435:3', 'test-mapper.R:449:3', 'test-mapper.R:505:3',
    'test-mapper.R:611:3', 'test-mapper.R:753:3', 'test-mapper.R:781:3',
    'test-multi_like.R:2:3', 'test-multi_like.R:55:3', 'test-offset.R:2:3',
    'test-response_size.R:2:3', 'test-response_size.R:82:3', 'test-utils.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-component.R:407:7'): Component construction: unsafe intercepts ──
  Error in `sort.int(x, na.last = na.last, decreasing = decreasing, ...)`: 'x' must be atomic
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-component.R:405:3
    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. └─inlabru::bru_model(cmp, bru_obs_list(list(lik))) at test-component.R:407:7
    8.   ├─inlabru::bru_comp_list(...)
    9.   └─inlabru:::bru_comp_list.bru_comp_list(...)
   10.     ├─inlabru::bru_comp_list(list(object), .envir = .envir, ...)
   11.     └─inlabru:::bru_comp_list.list(list(object), .envir = .envir, ...)
   12.       ├─inlabru::add_mappers(object, lhoods = lhoods, inputs = inputs)
   13.       └─inlabru:::add_mappers.bru_comp_list(...)
   14.         ├─inlabru::add_mappers(...)
   15.         └─inlabru:::add_mappers.bru_comp(...)
   16.           └─inlabru:::add_mapper(...)
   17.             └─inlabru:::make_unique_inputs(inp_, allow_list = TRUE)
   18.               └─inlabru:::make_unique_inputs(inp_, allow_list = FALSE)
   19.                 ├─base::sort(unique(unlist(inp)), na.last = NA)
   20.                 └─base::sort.default(unique(unlist(inp)), na.last = NA)
   21.                   └─base::sort.int(...)
  ── Error ('test-data.R:76:7'): Component construction: unsafe intercepts, data is list ──
  Error in `sort.int(x, na.last = na.last, decreasing = decreasing, ...)`: 'x' must be atomic
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-data.R:74:3
    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. └─inlabru::bru_model(cmp, bru_obs_list(list(lik))) at test-data.R:76:7
    8.   ├─inlabru::bru_comp_list(...)
    9.   └─inlabru:::bru_comp_list.bru_comp_list(...)
   10.     ├─inlabru::bru_comp_list(list(object), .envir = .envir, ...)
   11.     └─inlabru:::bru_comp_list.list(list(object), .envir = .envir, ...)
   12.       ├─inlabru::add_mappers(object, lhoods = lhoods, inputs = inputs)
   13.       └─inlabru:::add_mappers.bru_comp_list(...)
   14.         ├─inlabru::add_mappers(...)
   15.         └─inlabru:::add_mappers.bru_comp(...)
   16.           └─inlabru:::add_mapper(...)
   17.             └─inlabru:::make_unique_inputs(inp_, allow_list = TRUE)
   18.               └─inlabru:::make_unique_inputs(inp_, allow_list = FALSE)
   19.                 ├─base::sort(unique(unlist(inp)), na.last = NA)
   20.                 └─base::sort.default(unique(unlist(inp)), na.last = NA)
   21.                   └─base::sort.int(...)
  ── Error ('test-aggregate.R:290:7'): Aggregated Gaussian observations, using domain/samplers feature ──
  Error in `sort.int(x, na.last = na.last, decreasing = decreasing, ...)`: 'x' must be atomic
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-aggregate.R:288:3
    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. └─inlabru::bru_model(...) at test-aggregate.R:290:7
    8.   ├─inlabru::bru_comp_list(...)
    9.   └─inlabru:::bru_comp_list.bru_comp_list(...)
   10.     ├─inlabru::bru_comp_list(list(object), .envir = .envir, ...)
   11.     └─inlabru:::bru_comp_list.list(list(object), .envir = .envir, ...)
   12.       ├─inlabru::add_mappers(object, lhoods = lhoods, inputs = inputs)
   13.       └─inlabru:::add_mappers.bru_comp_list(...)
   14.         ├─inlabru::add_mappers(...)
   15.         └─inlabru:::add_mappers.bru_comp(...)
   16.           └─inlabru:::add_mapper(...)
   17.             └─inlabru:::make_unique_inputs(inp_, allow_list = TRUE)
   18.               └─inlabru:::make_unique_inputs(inp_, allow_list = FALSE)
   19.                 ├─base::sort(unique(unlist(inp)), na.last = NA)
   20.                 └─base::sort.default(unique(unlist(inp)), na.last = NA)
   21.                   └─base::sort.int(...)
  
  [ FAIL 3 | WARN 0 | SKIP 55 | PASS 182 ]
  Error:
  ! Test failures.
  Execution halted