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