Running 'testthat.R' [125s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("ToxicR",dir = tempdir())
  Loading required package: ToxicR
  
                                                                                                              
    _______               _____  
   |__   __|      <U+0001F913>     |  __ \ 
      | | _____  ___  ___| |__) |
      | |/ _ \ \/ / |/ __|  _  / 
      | | (_) >  <| | (__| | \ \ 
      |_|\___/_/\_\_|\___|_|  \_\
      ___
      | |
      / \                   ____()()
     /<U+2620><U+2620><U+2620>\                 /       xx
    (_____)          `~~~~~\_;m__m.__>o   
  
                                           
  THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 
  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 
  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
  CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
  OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  
  
  Attaching package: 'actuar'
  
  The following objects are masked from 'package:stats':
  
      sd, var
  
  The following object is masked from 'package:grDevices':
  
      cm
  
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  WARNING: Polynomial models may provide unstable estimates because of possible non-monotone behavior.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  WARNING: Polynomial models may provide unstable estimates because of possible non-monotone behavior.
  WARNING: Polynomial models may provide unstable estimates because of possible non-monotone behavior.
  NOTE: Parameter 'c' added to prior list. It is not used in the analysis.
  WARNING: Polynomial models may provide unstable estimates because of possible non-monotone behavior.
  WARNING: Polynomial models may provide unstable estimates because of possible non-monotone behavior.
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ]
  
  == Failed tests ================================================================
  -- Failure (test-single_dichotomous_mcmc.R:8:6): Probit ------------------------
  setNames(bmd_estimates, c("BMD", "BMDL", "BMDU")) not equal to model$bmd.
  2/3 mismatches (average diff: 25.7)
  [1] 13.8 - -37.4 == 51.187
  [3] 17.6 -  17.5 ==  0.118
  Backtrace:
      x
   1. \-ToxicR:::validate_model(...) at test-single_dichotomous_mcmc.R:8:5
   2.   \-testthat::expect_equal(...) at d:\RCompile\CRANpkg\local\4.1\ToxicR.Rcheck\tests_i386\testthat\helper.R:67:8
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 276 ]
  Error: Test failures
  Execution halted