Running examples in ‘geotech-Ex.R’ failed
The error most likely occurred in:

> ### Name: Plasticity
> ### Title: Plasticity Functions
> ### Aliases: Plasticity LL PI LI A.line plasticity.plot
> 
> ### ** Examples
> 
> 
> ## Example code for Plasticity Index
> PI(LL = 80, PL = 30)
$PI
[1] 50

$descr
[1] "Highly plastic"

> 
> ## Example code for Liquidity Index
> LI(w = 55, PL = 20, LL = 50)
$LI
[1] 1.166667

$descr
[1] "Liquid State"

> 
> ## Example code for plasticity plot
> plasticity.plot(LL = 40, PL = 20)
> 
> ## Example code for liquid limit analysis
> LL(N = c(72, 37, 14), w = c(7, 15, 21), draw = TRUE)
Error in is.na(x) == FALSE && is.na(y) == TRUE : 
  'length = 3' in coercion to 'logical(1)'
Calls: LL -> logAxis
Execution halted
Running examples in ‘geotech-Ex.R’ failed
The error most likely occurred in:

> ### Name: Plasticity
> ### Title: Plasticity Functions
> ### Aliases: Plasticity LL PI LI A.line plasticity.plot
> 
> ### ** Examples
> 
> 
> ## Example code for Plasticity Index
> PI(LL = 80, PL = 30)
$PI
[1] 50

$descr
[1] "Highly plastic"

> 
> ## Example code for Liquidity Index
> LI(w = 55, PL = 20, LL = 50)
$LI
[1] 1.166667

$descr
[1] "Liquid State"

> 
> ## Example code for plasticity plot
> plasticity.plot(LL = 40, PL = 20)
> 
> ## Example code for liquid limit analysis
> LL(N = c(72, 37, 14), w = c(7, 15, 21), draw = TRUE)
Error in is.na(x) == FALSE && is.na(y) == TRUE : 
  'length = 3' in coercion to 'logical(1)'
Calls: LL -> logAxis
Execution halted

Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(goldi)
  
  Attaching package: 'goldi'
  
  The following object is masked from 'package:base':
  
      match
  
  > 
  > test_check("goldi")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-goldi.R:23:3): testing main function ────────────────────────────
  Error in `lims == "interactive" || lims == "i"`: 'length = 11' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-goldi.R:23:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─goldi::goldi(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(goldi)
  
  Attaching package: 'goldi'
  
  The following object is masked from 'package:base':
  
      match
  
  > 
  > test_check("goldi")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-goldi.R:23:3): testing main function ────────────────────────────
  Error in `lims == "interactive" || lims == "i"`: 'length = 11' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-goldi.R:23:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─goldi::goldi(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted
Package suggested but not available for checking: ‘pdftools’