Running ‘testthat.R’ [34m/89m]
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.946 seconds
  Binned data in 0.117 seconds
  Binned data in 0.384 seconds
  Binned data in 1.465 seconds
  Binned data in 1.176 seconds
  Binned data in 1.02 seconds
  Binned data in 1.549 seconds
  Binned data in 1.327 seconds
  Binned data in 0.511 seconds
  Binned data in 0.371 seconds
  Binned data in 0.482 seconds
  Binned data in 0.421 seconds
  Binned data in 0.467 seconds
  Binned data in 1.379 seconds
  Binned data in 1.432 seconds
  Binned data in 1.385 seconds
  Binned data in 1.41 seconds
  Binned data in 1.123 seconds
  Binned data in 0.369 seconds
  Binned data in 0.337 seconds
  Binned data in 0.458 seconds
  Binned data in 0.438 seconds
  Binned data in 0.489 seconds
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.381 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.619 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 1.187 seconds
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  Maximum EM iterations reached
  Averaging over polygons...
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 1.012 seconds
  Binned data in 0.622 seconds
  Binned data in 0.335 seconds
  Binned data in 0.663 seconds
  Binned data in 0.692 seconds
  
    |                                                                            
    |                                                                      |   0%