Running ‘tinytest.R’ [4s/7s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("spatialreg")
  + }
  Loading required package: spData
  To access larger datasets in this package, install the spDataLarge
  package with: `install.packages('spDataLarge',
  repos='https://nowosad.github.io/drat/', type='source')`
  Loading required package: Matrix
  Loading required package: sf
  Linking to GEOS 3.12.0, GDAL 3.7.3, PROJ 9.3.0; sf_use_s2() is TRUE
  
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    This method assumes the response is known - see manual page
  
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    0 tests    
  test_Durbin.R.................    1 tests [0;32mOK[0m 
  test_Durbin.R.................    1 tests [0;32mOK[0m 
  test_Durbin.R.................    1 tests [0;32mOK[0m 
  test_Durbin.R.................    1 tests [0;32mOK[0m 
  test_Durbin.R.................    2 tests [0;32mOK[0m 
  test_Durbin.R.................    2 tests [0;32mOK[0m This method assumes the response is known - see manual page
  
  test_Durbin.R.................    2 tests [0;32mOK[0m 
  test_Durbin.R.................    2 tests [0;32mOK[0m 
  test_Durbin.R.................    2 tests [0;32mOK[0m 
  test_Durbin.R.................    3 tests [0;32mOK[0m 
  test_Durbin.R.................    3 tests [0;32mOK[0m 
  test_Durbin.R.................    3 tests [0;32mOK[0m 
  test_Durbin.R.................    3 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m 
  test_Durbin.R.................    4 tests [0;32mOK[0m This method assumes the response is known - see manual page
  
  test_Durbin.R.................    4 tests [0;32mOK[0m Error in nb2listw(res$neighbours, glist = res$weights, style = style,  : 
    Empty neighbour sets found
  Calls: <Anonymous> ... predict -> predict.Sarlm -> mat2listw -> sn2listw -> nb2listw
  In addition: Warning messages:
  1: In subset.nb(x = nb, subset = subset) :
    subsetting caused increase in subgraph count
  2: In sn2listw(df, style = style, zero.policy = zero.policy, from_mat2listw = TRUE) :
    1001, 1023, 1014, 1018 are not origins
  3: In sn2listw(df, style = style, zero.policy = zero.policy, from_mat2listw = TRUE) :
    no-neighbour observations found, set zero.policy to TRUE;
  this warning will soon become an error
  Execution halted