Running ‘testthat.R’ [5s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(splot)
  > 
  > test_check("splot")
  
  Call:
  v1 ~ c1 * c2
  
  Residuals:
      Min      1Q  Median      3Q     Max 
  -4.5159 -0.8009  0.0300  0.8456  4.8155 
  
  Coefficients:
              Estimate Std. Error t value Pr(>|t|)    
  (Intercept) -0.71649    0.05869 -12.209  < 2e-16 ***
  c1          -0.30007    0.08179  -3.669  0.00025 ***
  c2           0.43565    0.08137   5.354 9.61e-08 ***
  c1:c2       -0.35549    0.11611  -3.062  0.00223 ** 
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
  
  Residual standard error: 1.296 on 1996 degrees of freedom
  Multiple R-squared:  0.048,	Adjusted R-squared:  0.04657 
  F-statistic: 33.55 on 3 and 1996 DF,  p-value: < 2.2e-16
  
  
  Call:
  v1 ~ v2 * c1
  
  Residuals:
      Min      1Q  Median      3Q     Max 
  -5.5699 -0.7920  0.0062  0.8294  4.8733 
  
  Coefficients:
              Estimate Std. Error t value Pr(>|t|)    
  (Intercept) -1.45603    0.15190  -9.586  < 2e-16 ***
  v2           0.24797    0.03760   6.595 5.44e-11 ***
  c1           1.24042    0.19663   6.308 3.46e-10 ***
  v2:c1       -0.42605    0.04661  -9.141  < 2e-16 ***
  ---
  Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
  
  Residual standard error: 1.279 on 1996 degrees of freedom
  Multiple R-squared:  0.07348,	Adjusted R-squared:  0.07209 
  F-statistic: 52.76 on 3 and 1996 DF,  p-value: < 2.2e-16
  
  benchmarking 2 expression(s) in chunks of 1 per run... 
  run 0 of 20
  run 1 of 20
  run 2 of 20
  run 3 of 20
  run 4 of 20
  run 5 of 20
  run 6 of 20
  run 7 of 20
  run 8 of 20
  run 9 of 20
  run 10 of 20
  run 11 of 20
  run 12 of 20
  run 13 of 20
  run 14 of 20
  run 15 of 20
  run 16 of 20
  run 17 of 20
  run 18 of 20
  run 19 of 20
  run 20 of 20
  finished 20 runs in 2.21 seconds       
  
  expressions:
  
  1. Sys.sleep(0.01)
  2. Sys.sleep(0.1)
  
                            1      2
  total time (seconds) 0.2020 2.0020
  mean time per run    0.0101 0.1001
  times the minimum    1.0000 9.9109
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 55 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-splot.color.R:23:3'): scale works ────────────────────────────
  all(initial == splot.color(1:5, shuffle = TRUE)) is not FALSE
  
  `actual`:   TRUE 
  `expected`: FALSE
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 55 ]
  Error: Test failures
  Execution halted