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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bmdcalc
> ### Title: Computation of benchmark doses for responsive items
> ### Aliases: bmdcalc print.bmdcalc plot.bmdcalc
> 
> ### ** Examples
> 
> 
> # (1) a toy example (a very small subsample of a transcriptomics data set) 
> #
> datatxt <- system.file("extdata", "transcripto_very_small_sample.txt", package="DRomics")
> 
> # to test the package on a small (for a quick calculation) but not very small data set
> # use the following commented line
> # datatxt <- system.file("extdata", "transcripto_sample.txt", package="DRomics")
> 
> (o <- omicdata(datatxt, check = TRUE, norm.method = "cyclicloess"))
Just wait, the normalization using cyclicloess may take a few minutes.
Elements of the experimental design in order to check the coding of the data :
Tested doses and number of replicates for each dose:

    0  0.69 1.223 2.148 3.774 6.631 
    5     5     5     5     5     5 
Number of items:  100 
Identifiers of the first 20 items:
 [1] "1"    "2"    "3"    "4"    "5.1"  "6.1"  "7.1"  "8.1"  "9.1"  "10.1"
[11] "11.1" "12.1" "13.1" "14.1" "15"   "16.1" "17.1" "18.1" "19.1" "20.1"
Data were normalized between arrays using the following method:  cyclicloess  
> (s_quad <- itemselect(o, select.method = "quadratic", FDR = 0.01))
Removing intercept from test coefficients
Number of selected items using a quadratic trend test with an FDR of  0.01 :  17 
Identifiers of the responsive items:
 [1] "15"   "12.1" "27.1" "25.1" "4"    "70"   "7.1"  "88.1" "92"   "81"  
[11] "13.1" "74.1" "83.1" "84.1" "54.1" "85.1" "67.1"
> (f <- drcfit(s_quad, progressbar = TRUE))
The fitting may be long if the number of selected items is high.

  |                                                                            
  |                                                                      |   0%
  |                                                                            
  |====                                                                  |   6%
  |                                                                            
  |========                                                              |  12%
  |                                                                            
  |============                                                          |  18%
  |                                                                            
  |================                                                      |  24%
  |                                                                            
  |=====================                                                 |  29%
  |                                                                            
  |=========================                                             |  35%
  |                                                                            
  |=============================                                         |  41%
  |                                                                            
  |=================================                                     |  47%
  |                                                                            
  |=====================================                                 |  53%
  |                                                                            
  |=========================================                             |  59%
  |                                                                            
  |=============================================                         |  65%
  |                                                                            
  |=================================================                     |  71%
  |                                                                            
  |======================================================                |  76%
  |                                                                            
  |==========================================================            |  82%
  |                                                                            
  |==============================================================        |  88%
  |                                                                            
  |==================================================================    |  94%
  |                                                                            
  |======================================================================| 100%
Figures are stored in /tmp/RtmpjoB09z. This directory is temporary. It will be removed when the R session is closed.
Distribution of the chosen models among the  17  fitted dose-response curves :

            Hill           linear      exponential     Gauss-probit 
               1                3                4                8 
log-Gauss-probit 
               1 
Distribution of the typology of the  17  fitted dose-response curves :

        H.inc         H.dec         L.inc         L.dec  E.inc.convex 
            0             1             1             2             0 
E.dec.concave E.inc.concave  E.dec.convex          GP.U       GP.bell 
            3             1             0             5             3 
        lGP.U      lGP.bell 
            1             0 
> (r <- bmdcalc(f))
9 BMD-xfold values and  0  BMD-zSD values could not be calculated 
        (coded NA as the BMR stands within the range of response values defined by the model 
        but outside the range of tested doses).
> plot(r) 
Error in grid.Call.graphics(C_setviewport, vp, TRUE) : 
  VECTOR_ELT() can only be applied to a 'list', not a 'double'
Calls: <Anonymous> ... lapply -> FUN -> push.vp.viewport -> grid.Call.graphics
Execution halted