Running ‘testthat.R’ [30m/18m]
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.101 seconds
  Binned data in 0.012 seconds
  Binned data in 0.077 seconds
  Binned data in 0.112 seconds
  Binned data in 0.109 seconds
  Binned data in 0.119 seconds
  Binned data in 0.111 seconds
  Binned data in 0.123 seconds
  Binned data in 0.038 seconds
  Binned data in 0.038 seconds
  Binned data in 0.033 seconds
  Binned data in 0.034 seconds
  Binned data in 0.034 seconds
  Binned data in 0.107 seconds
  Binned data in 0.107 seconds
  Binned data in 0.114 seconds
  Binned data in 0.123 seconds
  Binned data in 0.114 seconds
  Binned data in 0.054 seconds
  Binned data in 0.033 seconds
  Binned data in 0.034 seconds
  Binned data in 0.059 seconds
  Binned data in 0.057 seconds
  Normalising basis function evaluations at BAU level...
  Binning data...
  Binned data in 0.117 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.048 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.092 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.07 seconds
  Binned data in 0.07 seconds
  Binned data in 0.08 seconds
  Binned data in 0.065 seconds
  Binned data in 0.064 seconds
  
    |                                                                            
    |                                                                      |   0%