Running ‘testthat.R’ [102s/92s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(spatialsample)
  > 
  > sf::sf_extSoftVersion()
            GEOS           GDAL         proj.4 GDAL_with_GEOS     USE_PROJ_H 
        "3.11.1"        "3.6.2"        "9.1.1"         "true"         "true" 
            PROJ 
         "9.1.1" 
  > 
  > test_check("spatialsample")
  Starting 2 test processes
  [ FAIL 2 | WARN 8 | SKIP 34 | PASS 347 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (10)
  • sf::sf_use_s2() is not TRUE (24)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-compat-dplyr.R:218:5'): right_join() restores to the type of first input ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─spatialsample:::expect_s3_class_bare_tibble(...) at test-compat-dplyr.R:218:4
    2. │ └─testthat::expect_s3_class(...) at tests/testthat/helper-rset.R:47:2
    3. │   └─testthat::quasi_label(enquo(object), arg = "object")
    4. │     └─rlang::eval_bare(expr, quo_get_env(quo))
    5. ├─dplyr::right_join(y, x, by = "id")
    6. └─dplyr:::right_join.data.frame(y, x, by = "id")
    7.   └─dplyr:::join_mutate(...)
    8.     ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9.     └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12.           ├─base::withCallingHandlers(...)
   13.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-compat-dplyr.R:234:5'): full_join() can lose rset class if rows are added ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─spatialsample:::expect_s3_class_bare_tibble(full_join(x, y, by = "id")) at test-compat-dplyr.R:234:4
    2. │ └─testthat::expect_s3_class(...) at tests/testthat/helper-rset.R:47:2
    3. │   └─testthat::quasi_label(enquo(object), arg = "object")
    4. │     └─rlang::eval_bare(expr, quo_get_env(quo))
    5. ├─dplyr::full_join(x, y, by = "id")
    6. └─dplyr:::full_join.data.frame(x, y, by = "id")
    7.   └─dplyr:::join_mutate(...)
    8.     ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
    9.     └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   10.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   11.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   12.           ├─base::withCallingHandlers(...)
   13.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 2 | WARN 8 | SKIP 34 | PASS 347 ]
  Error: Test failures
  Execution halted