Running examples in 'EWOC2-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Found the following files/directories:
  'combination_cohort_2.bug'
Running examples in ‘EWOC2-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Found the following files/directories:
  ‘combination_cohort_2.bug’
Running examples in ‘EWOC2-Ex.R’ failed
The error most likely occurred in:

> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Found the following files/directories:
  ‘combination_cohort_2.bug’
Running examples in ‘EWOC2-Ex.R’ failed
The error most likely occurred in:

> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Found the following files/directories:
  ‘combination_cohort_2.bug’
Running examples in 'EWOC2-Ex.R' failed
The error most likely occurred in:

> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Running examples in 'EWOC2-Ex.R' failed
The error most likely occurred in:

> ### Name: ewoc2simu
> ### Title: Generic EWOC2 simulation
> ### Aliases: ewoc2simu ewoc2simu.default
> 
> ### ** Examples
> 
> ## Don't show: 
> # continous 
> test1 = ewoc2simu(ntrials=1, nsamples=4, type="c", trho00=0.01,trho01=0.2, trho10=0.9,teta=20, 
+ Min.Dose.A=0, Max.Dose.A=1, Min.Dose.B=0, Max.Dose.B=1, alpha=0.25, theta=0.20, a01=1,b01=1,
+ a10=1,b10=1, a00=1,b00=1,a=0.8,b=0.0384)
> 
> print(test1)
[1] "Operating characteristics summarizing trial safety for continuous doses:"
                                    Value
Average % DLT                        0.00
% Trials with DLT rate > theta+0.05  0.00
% Trials with DLT rate > theta+0.1   0.00
> plot(test1, type="MTD")
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: plot ... as.graphicsAnnot -> format -> format.default -> prettyNum
Execution halted
Found the following files/directories:
  ‘combination_cohort_2.bug’
Found the following files/directories:
  ‘combination_cohort_2.bug’
Found the following files/directories:
  ‘combination_cohort_2.bug’
Package required but not available: ‘rjags’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.