Running ‘testthat.R’ [35m/51m]
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.435 seconds
  Binned data in 0.054 seconds
  Binned data in 0.174 seconds
  Binned data in 0.333 seconds
  Binned data in 0.611 seconds
  Binned data in 0.457 seconds
  Binned data in 0.461 seconds
  Binned data in 0.53 seconds
  Binned data in 0.187 seconds
  Binned data in 0.128 seconds
  Binned data in 0.129 seconds
  Binned data in 0.196 seconds
  Binned data in 0.22 seconds
  Binned data in 0.492 seconds
  Binned data in 0.537 seconds
  Binned data in 0.489 seconds
  Binned data in 0.537 seconds
  Binned data in 0.635 seconds
  Binned data in 0.11 seconds
  Binned data in 0.181 seconds
  Binned data in 0.191 seconds
  Binned data in 0.213 seconds
  Binned data in 0.12 seconds
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.341 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.175 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.349 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.362 seconds
  Binned data in 0.361 seconds
  Binned data in 0.321 seconds
  Binned data in 0.304 seconds
  Binned data in 0.353 seconds
  
    |                                                                            
    |                                                                      |   0%