Running ‘test-all.R’ [32s/42s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > library(testthat)
  > library(sp)
  > library(gstat)
  > library(geoR)
  --------------------------------------------------------------
   Analysis of Geostatistical Data
   For an Introduction to geoR go to http://www.leg.ufpr.br/geoR
   geoR version 1.7-5.2.1 (built on 2016-05-02) is now loaded
  --------------------------------------------------------------
  
  > library(gear)
  > library(spam)
  Loading required package: dotCall64
  Loading required package: grid
  Spam version 2.2-2 (2019-03-07) is loaded.
  Type 'help( Spam)' or 'demo( spam)' for a short introduction 
  and overview of this package.
  Help for individual functions is also obtained by adding the
  suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
  
  Attaching package: 'spam'
  
  The following object is masked from 'package:gear':
  
      mle
  
  The following objects are masked from 'package:base':
  
      backsolve, forwardsolve
  
  > library(Matrix)
  
  Attaching package: 'Matrix'
  
  The following object is masked from 'package:spam':
  
      det
  
  > test_check("gear")
  ---------------------------------------------------------------
  likfit: likelihood maximisation using the function optim.
  likfit: Use control() to pass additional
           arguments for the maximisation function.
          For further details see documentation for optim.
  likfit: It is highly advisable to run this function several
          times with different initial values for the parameters.
  likfit: WARNING: This step can be time demanding!
  ---------------------------------------------------------------
  likfit: end of numerical maximisation.
  ---------------------------------------------------------------
  likfit: likelihood maximisation using the function optim.
  likfit: Use control() to pass additional
           arguments for the maximisation function.
          For further details see documentation for optim.
  likfit: It is highly advisable to run this function several
          times with different initial values for the parameters.
  likfit: WARNING: This step can be time demanding!
  ---------------------------------------------------------------
  likfit: end of numerical maximisation.
  Calculating omnidirectional sample semivariogram for cadmium variable using standard estimatorCalculating omnidirectional sample semivariogram for cadmium variable using cressie estimator── 1. Failure: check accuracy of vgram function (@test-vgram.R#62)  ────────────
  max(abs(gear_v2$semi$semivariance - gstat_v2$gamma)) < 1e-10 isn't true.
  
  Calculating omnidirectional sample semivariogram for cadmium variable using cloud estimatorvariog: computing omnidirectional variogram
  Calculating omnidirectional sample semivariogram for cadmium variable using standard estimator══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 75 SKIPPED: 0 WARNINGS: 0 FAILED: 1
  1. Failure: check accuracy of vgram function (@test-vgram.R#62) 
  
  Error: testthat unit tests failed
  Execution halted