Running ‘testthat.R’ [31m/21m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ops <- options("crayon.enabled" = FALSE)
  > library(testthat)
  > require("covr")
  Loading required package: covr
  > 
  > test_check("FRK")
  Loading required package: FRK
  Binned data in 0.246 seconds
  Binned data in 0.041 seconds
  Binned data in 0.11 seconds
  Binned data in 0.364 seconds
  Binned data in 0.432 seconds
  Binned data in 0.397 seconds
  Binned data in 0.425 seconds
  Binned data in 0.357 seconds
  Binned data in 0.139 seconds
  Binned data in 0.149 seconds
  Binned data in 0.124 seconds
  Binned data in 0.117 seconds
  Binned data in 0.186 seconds
  Binned data in 0.578 seconds
  Binned data in 0.469 seconds
  Binned data in 0.461 seconds
  Binned data in 0.424 seconds
  Binned data in 0.52 seconds
  Binned data in 0.167 seconds
  Binned data in 0.159 seconds
  Binned data in 0.168 seconds
  Binned data in 0.17 seconds
  Binned data in 0.162 seconds
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.235 seconds
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  Maximum EM iterations reached
  Intercept 
  0.1839112 
  Formula: z ~ 1 
  Assumed response distribution: gaussian 
  Specified link function: identity 
  Method of model fitting: EM 
  Number of datasets: 1 
  Number of basis functions: 18 
  Class of basis functions: Basis 
  Number of BAUs [extract using object@BAUs]:  139 
  Number of observations [extract using object@Z]:  50 
  Mean obs. variance at BAU level [extract using object@Ve]: 0.01 
  Fine-scale variance proportionality constant [extract using object@sigma2fshat]: 0.1164019 
  Dimensions of C in Z = C*Y + e [extract using object@Cmat]:  c(50L, 139L) 
  Dimensions of S in Y = X*alpha + S*eta + delta [extract using object@S]:  c(50L, 18L) 
  Number of covariates: 1 
  
  Formula: z ~ 1 
  Assumed response distribution: gaussian 
  Specified link function: identity 
  Method of model fitting: EM 
  Number of datasets: 1 
  Number of basis functions: 18 
  Class of basis functions: Basis 
  Number of BAUs [extract using object@BAUs]:  139 
  Number of observations [extract using object@Z]:  50 
  Mean obs. variance at BAU level [extract using object@Ve]: 0.01 
  Fine-scale variance proportionality constant [extract using object@sigma2fshat]: 0.1164019 
  Dimensions of C in Z = C*Y + e [extract using object@Cmat]:  c(50L, 139L) 
  Dimensions of S in Y = X*alpha + S*eta + delta [extract using object@S]:  c(50L, 18L) 
  Number of covariates: 1 
  
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.123 seconds
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  Maximum EM iterations reached
  Input geom 0 is INVALID: Self-intersection at or near point 34.084719804325559 -68.186470263844967 (34.084719804325558812 -68.186470263844967121)
  <A>
  POLYGON ((64.8482549999999947 -71.9435849999999988, 55.1439799999999991 -71.4564079999999962, 46.1059359999999998 -70.5004969999999958, 38.0071760000000012 -69.1342439999999954, 30.9342509999999997 -67.4252299999999991, 21.2063220000000001 -68.2650950000000023, 11.2500000000000000 -68.5626209999999929, 1.2936770000000000 -68.2650950000000023, 351.5657479999999850 -67.4252299999999991, 344.4928229999999871 -69.1342439999999954, 336.3940620000000195 -70.5004969999999958, 327.3560190000000034 -71.4564079999999962, 317.6517440000000079 -71.9435849999999988, 314.5931870000000004 -75.0822569999999985, 308.7343999999999937 -78.0859059999999943, 298.6585360000000264 -80.8106159999999960, 281.2499980000000050 -82.9884509999999977, 281.2499950000000126 -86.4860199999999963, 320.1237780000000157 -89.9999990000000025, 101.2499949999999984 -86.4860209999999938, 101.2499980000000050 -82.9884519999999952, 83.8414599999999979 -80.8106159999999960, 73.7655969999999996 -78.0859059999999943, 67.9068110000000047 -75.0822569999999985, 64.8482549999999947 -71.9435849999999988))
  </A>
  Averaging over polygons...
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.352 seconds
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  Maximum EM iterations reached
  Averaging over polygons...
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.175 seconds
  Binned data in 0.198 seconds
  Binned data in 0.244 seconds
  Binned data in 0.241 seconds
  Binned data in 0.202 seconds
  
    |                                                                            
    |                                                                      |   0%