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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tcplCytoPt
> ### Title: Calculate the cytotoxicity point based on the "burst" endpoints
> ### Aliases: tcplCytoPt
> 
> ### ** Examples
> 
> ## Store the current config settings, so they can be reloaded at the end 
> ## of the examples
> conf_store <- tcplConfList()
> tcplConfDefault()
> 
> ## Can only calculate the cytotox burst if using the MySQL database and
> ## TCPL_DRVR == 'RMySQL'
> 
> if (conf_store == 'RMySQL') {
+ 
+ ## Load the "burst" endpoints -- none are defined in the example dataset
+ tcplLoadAeid(fld = "burst_assay", val = 1)
+ 
+ ## Calculate the cytotoxicity distributions using both example endpoints
+ tcplCytoPt(aeid = 1:2)
+ 
+ ## The above example does not calculate a global MAD, because no chemical
+ ## hit both endpoints. (This makes sense, because both endpoints are 
+ ## derived from one component, where one endpoint is acitivity in the
+ ## up direction, and the other is activity in the down direction.)
+ ## Note, the cyto_pt is also 3 for all chemicals, because the function
+ ## requires at least two endpoints to calculate a cytotoxicity point. If 
+ ## the user wishes to use one assay, this function is not necessary. 
+ 
+ ## Changing 'default.pt' will change cyto_pt in the resulting data.table
+ tcplCytoPt(aeid = 1:2, default.pt = 6)
+ }
 ----------- FAILURE REPORT -------------- 
 --- failure: the condition has length > 1 ---
 --- srcref --- 
: 
 --- package (from environment) --- 
tcpl
 --- call from context --- 
NULL
 --- call from argument --- 
if (conf_store == "RMySQL") {
    tcplLoadAeid(fld = "burst_assay", val = 1)
    tcplCytoPt(aeid = 1:2)
    tcplCytoPt(aeid = 1:2, default.pt = 6)
}
 --- R stacktrace ---

 --- value of length: 4 type: logical ---
  TCPL_DB TCPL_USER TCPL_HOST TCPL_DRVR 
    FALSE        NA        NA     FALSE 
 --- function from context --- 
 --- function search by body ---
 ----------- END OF FAILURE REPORT -------------- 
Error in if (conf_store == "RMySQL") { : the condition has length > 1
Execution halted