Running ‘iteratorTest.R’ [17s/19s]
  Running ‘test_QuadApprox.R’ [20m/26m]
  Running ‘test_sim_ana.R’ [17s/20s]
  Running ‘test_survspat.R’ [19s/22s]
Running the tests in ‘tests/test_QuadApprox.R’ failed.
Complete output:
  > library(spatsurv)
  The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
  which was just loaded, will retire in October 2023.
  Please refer to R-spatial evolution reports for details, especially
  https://r-spatial.org/r/2023/05/15/evolution4.html.
  It may be desirable to make the sf package available;
  package maintainers should consider adding sf to Suggests:.
  The sp package is now running under evolution status 2
       (status 2 uses the sf package in place of rgdal)
  rgeos version: 0.6-3, (SVN revision 696)
   GEOS runtime version: 3.11.1-CAPI-1.17.1 
   Please note that rgeos will be retired during October 2023,
  plan transition to sf or terra functions using GEOS at your earliest convenience.
  See https://r-spatial.org/r/2023/05/15/evolution4.html for details.
   GEOS using OverlayNG
   Linking to sp version: 2.0-0 
   Polygon checking: TRUE 
  
  
   Welcome to 'spatsurv': Spatial Survival Analysis
   B. M. Taylor & B. S. Rowlingson.
  
  Type 'spatsurvVignette()' to view the package vignette.
  
  Type 'citation("spatsurv")' to view the citation for this package.
  
  Please see the spatsurv package NEWS file for latest additions, changes and bug fixes.
  > 
  > func <- function(par){
  +     x <- par[1]
  +     y <- par[2]
  +     z <- par[3]
  +     
  +     return(0 + x + 2*y + 3*z + 2*x^2 + y^2 + 2*z^2 + 3*x*y + 4*x*z + 5*y*z + rnorm(1))
  + }
  > 
  > ans <- QuadApprox(fun=func,npts=10,argRanges=list(c(-5,5),c(-5,5),c(-5,5)),plot=FALSE)
  Constructing quadratic approximation to posterior (this can take some time) ...
  Done.
  Warning in fixmatrix(sigmainv) :
    Something is wrong with the estimated covariance matrix, fixing this using a totally ad-hoc method. This will not affect ergodicity, merely the efficiency of the chain.
  Fixing non positive definite covariance matrix for eta ...
  > print(ans)
  $max
  [1]  1.2508539 -1.0028620 -0.7505238
  
  $curvature
           [,1]      [,2]      [,3]
  [1,] -4.01028  0.000000  0.000000
  [2,]  0.00000 -2.003607  0.000000
  [3,]  0.00000  0.000000 -3.990579
  
  $mod
  
  Call:
  lm(formula = form, data = dataf)
  
  Coefficients:
  (Intercept)           x1           x2           x3         x1.2         x2.2  
      0.01042      0.99923      2.00338      3.00339      2.00514      1.00180  
         x3.2         x1x2         x1x3         x2x3  
      1.99529      3.00406      4.00101      4.99874  
  
  
  > 
  > # ans1 <- quadapprox(fun=func,xseq=seq(-5,5,length.out=20),yseq=seq(-5,5,length.out=20))
  > # print(ans1)
  > 
  > proc.time()
     user  system elapsed 
   15.942   1.011  20.280 
  Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
  OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
  OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
  Assertion failure at kmp_runtime.cpp(6918): temp_reg_status_file_name.
  OMP: Error #13: Assertion failure at kmp_runtime.cpp(6918).
  OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
  Killed