Running 'testthat.R' [62s/69s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > #    Copyright 2015 Province of British Columbia
  > #
  > #    Licensed under the Apache License, Version 2.0 (the "License");
  > #    you may not use this file except in compliance with the License.
  > #    You may obtain a copy of the License at
  > #
  > #       https://www.apache.org/licenses/LICENSE-2.0
  > #
  > #    Unless required by applicable law or agreed to in writing, software
  > #    distributed under the License is distributed on an "AS IS" BASIS,
  > #    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  > #    See the License for the specific language governing permissions and
  > #    limitations under the License.
  > 
  > library(testthat)
  > library(ssdtools)
  
  Attaching package: 'ssdtools'
  
  The following objects are masked from 'package:stats':
  
      dgamma, dlnorm, dweibull, pgamma, plnorm, pweibull, qgamma, qlnorm,
      qweibull, rgamma, rlnorm, rweibull
  
  > 
  > test_check("ssdtools")
  $start.arg
  $start.arg$locationlog
  [1] 4.238855
  
  $start.arg$scalelog
  [1] 2.991983
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] -2.6689
  
  $start.arg$scalelog
  [1] 2.991983
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 1.830858
  
  $start.arg$scalelog
  [1] 1.719768
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 5.619543
  
  $start.arg$shape
  [1] 1.557066
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 1.830858
  
  $start.arg$sdlog
  [1] 0.9481578
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$lshape1
  [1] 0
  
  $start.arg$lshape2
  [1] 0
  
  $start.arg$lscale
  [1] 1
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$lshape1
  [1] 0
  
  $start.arg$lshape2
  [1] 0
  
  $start.arg$lscale
  [1] 1
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$lshape1
  [1] 0
  
  $start.arg$lshape2
  [1] 0
  
  $start.arg$lscale
  [1] 1
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] -2.043525
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 5.619543
  
  $start.arg$shape
  [1] 1.557066
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -2.76013
  
  $start.arg$lshape
  [1] -2.569125
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 1.830858
  
  $start.arg$scalelog
  [1] 1.21606
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 1.830858
  
  $start.arg$scalelog
  [1] 1.719768
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 1.830858
  
  $start.arg$sdlog
  [1] 0.9481578
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 0.9183402
  
  
  $fix.arg
  $fix.arg$scale
  [1] 2.1
  
  
  $start.arg
  $start.arg$shape
  [1] 1.265612
  
  $start.arg$scale
  [1] 9.804227
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 4.660186
  
  $start.arg$sdlog
  [1] 2.280517
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 48884.22
  
  $start.arg$shape
  [1] 0.3254143
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 488.8422
  
  $start.arg$shape
  [1] 0.3254143
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 29383
  
  $start.arg$shape
  [1] 0.7085729
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 22.85228
  
  $start.arg$shape
  [1] 1.044753
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 1.830858
  
  $start.arg$scalelog
  [1] 1.719768
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 5.619543
  
  $start.arg$shape
  [1] 1.557066
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 1.830858
  
  $start.arg$sdlog
  [1] 0.9481578
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233724
  
  $start.arg$lshape
  [1] -5.951623
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233942
  
  $start.arg$lshape
  [1] -5.948379
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233852
  
  $start.arg$lshape
  [1] -5.94988
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233723
  
  $start.arg$lshape
  [1] -5.952063
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233852
  
  $start.arg$lshape
  [1] -5.94988
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 1.621557
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 7.814137
  
  $start.arg$scalelog
  [1] 1.303087
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 1.621557
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 8.688752
  
  $start.arg$sdlog
  [1] 2.098901
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 0.3903742
  
  
  $fix.arg
  $fix.arg$scale
  [1] 1
  
  
  $start.arg
  $start.arg$shape
  [1] 0.3903742
  
  
  $fix.arg
  $fix.arg$scale
  [1] 1
  
  
  $start.arg
  $start.arg$meanlog
  [1] 1.830858
  
  $start.arg$sdlog
  [1] 0.9481578
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] -5.076897
  
  $start.arg$sdlog
  [1] 0.9481578
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 5.619543
  
  $start.arg$shape
  [1] 1.557066
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -2.760154
  
  $start.arg$lshape
  [1] -2.569072
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 22.85228
  
  $start.arg$shape
  [1] 1.044753
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233761
  
  $start.arg$lshape
  [1] -5.951195
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 22.85228
  
  $start.arg$shape
  [1] 1.044753
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$llocation
  [1] -3.233833
  
  $start.arg$lshape
  [1] -5.950114
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 1.621557
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$locationlog
  [1] 2.561645
  
  $start.arg$scalelog
  [1] 2.293228
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 2.561645
  
  $start.arg$sdlog
  [1] 1.264323
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 0.9491247
  
  $start.arg$scale
  [1] 23.6723
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 29383
  
  $start.arg$shape
  [1] 0.7085729
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 8.688752
  
  $start.arg$sdlog
  [1] 2.098901
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$scale
  [1] 29383
  
  $start.arg$shape
  [1] 0.7085729
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$meanlog
  [1] 8.688752
  
  $start.arg$sdlog
  [1] 2.098901
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 0.5717278
  
  $start.arg$scale
  [1] 16142.77
  
  
  $fix.arg
  NULL
  
  $start.arg
  $start.arg$shape
  [1] 0.9491247
  
  $start.arg$scale
  [1] 23.6723
  
  
  $fix.arg
  NULL
  
  == Failed tests ================================================================
  -- Failure (test-fit.R:115:3): fit_dists computable ----------------------------
  fit$sd["scale"] not equal to c(scale = 673.801371511101).
  1/1 mismatches
  [1] 674 - 674 == -0.272
  -- Failure (test-fit.R:116:3): fit_dists computable ----------------------------
  fit$sd["shape"] not equal to c(shape = 0.0454275860604086).
  1/1 mismatches
  [1] 0.0454 - 0.0454 == -2.91e-06
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 1017 ]
  Error: Test failures
  Execution halted