'LazyData' is specified without a 'data' directory
Running examples in 'powerlmm-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'simulations.Rmd' using rmarkdown
--- finished re-building 'simulations.Rmd'

--- re-building 'technical.Rmd' using rmarkdown
--- finished re-building 'technical.Rmd'

--- re-building 'three-level.Rmd' using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'three-level.Rmd'

--- re-building 'two-level.Rmd' using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'two-level.Rmd'

SUMMARY: processing the following files failed:
  'three-level.Rmd' 'two-level.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘powerlmm-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘simulations.Rmd’ using rmarkdown
--- finished re-building ‘simulations.Rmd’

--- re-building ‘technical.Rmd’ using rmarkdown
--- finished re-building ‘technical.Rmd’

--- re-building ‘three-level.Rmd’ using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for ‘digits’ argument
--- failed re-building ‘three-level.Rmd’

--- re-building ‘two-level.Rmd’ using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for ‘digits’ argument
--- failed re-building ‘two-level.Rmd’

SUMMARY: processing the following files failed:
  ‘three-level.Rmd’ ‘two-level.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘powerlmm-Ex.R’ failed
The error most likely occurred in:

> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘simulations.Rmd’ using rmarkdown
--- finished re-building ‘simulations.Rmd’

--- re-building ‘technical.Rmd’ using rmarkdown
--- finished re-building ‘technical.Rmd’

--- re-building ‘three-level.Rmd’ using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘three-level.Rmd’

--- re-building ‘two-level.Rmd’ using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘two-level.Rmd’

SUMMARY: processing the following files failed:
  ‘three-level.Rmd’ ‘two-level.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in ‘powerlmm-Ex.R’ failed
The error most likely occurred in:

> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘simulations.Rmd’ using rmarkdown
--- finished re-building ‘simulations.Rmd’

--- re-building ‘technical.Rmd’ using rmarkdown
--- finished re-building ‘technical.Rmd’

--- re-building ‘three-level.Rmd’ using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘three-level.Rmd’

--- re-building ‘two-level.Rmd’ using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building ‘two-level.Rmd’

SUMMARY: processing the following files failed:
  ‘three-level.Rmd’ ‘two-level.Rmd’

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'powerlmm-Ex.R' failed
The error most likely occurred in:

> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Error(s) in re-building vignettes:
--- re-building 'simulations.Rmd' using rmarkdown
--- finished re-building 'simulations.Rmd'

--- re-building 'technical.Rmd' using rmarkdown
--- finished re-building 'technical.Rmd'

--- re-building 'three-level.Rmd' using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'three-level.Rmd'

--- re-building 'two-level.Rmd' using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'two-level.Rmd'

SUMMARY: processing the following files failed:
  'three-level.Rmd' 'two-level.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
Running examples in 'powerlmm-Ex.R' failed
The error most likely occurred in:

> ### Name: dropout_manual
> ### Title: Manually specify dropout per time point
> ### Aliases: dropout_manual
> 
> ### ** Examples
> 
> dropout <- dropout_manual(0, 0, 0, 0, 0.2, 0.2, 0.3, 0.3, 0.4, 0.4, 0.45)
> 
> p <- study_parameters(n1 = 11,
+                       n2 = 5,
+                       n3 = 6,
+                       T_end = 10,
+                       icc_pre_subject = 0.5,
+                       icc_pre_cluster = 0,
+                       var_ratio = 0.03,
+                       icc_slope = 0.05,
+                       dropout = dropout,
+                       cohend = -0.8)
> plot(p, plot = 2)
> get_power(p)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L,  : 
  invalid value 0 for 'digits' argument
Calls: <Anonymous> ... prepare_print_plcp -> format -> format -> format.default -> prettyNum
Execution halted
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
    9. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. +-utils::str(print(p))
   11. +-base::print(p)
   12. +-base::print(p)
   13. \-powerlmm:::print.plcp_3lvl(p)
   14.   \-powerlmm:::prepare_print_plcp_3lvl(x)
   15.     \-powerlmm:::prepare_print_plcp(x)
   16.       +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
   17.       +-base::format(gd$control * 100, nsmall = 0, digits = 0, width = 2)
   18.       \-base::format.default(...)
   19.         \-base::prettyNum(...)
  
  [ FAIL 4 | WARN 6 | SKIP 0 | PASS 902 ]
  Error: Test failures
  Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building 'simulations.Rmd' using rmarkdown
--- finished re-building 'simulations.Rmd'

--- re-building 'technical.Rmd' using rmarkdown
--- finished re-building 'technical.Rmd'

--- re-building 'three-level.Rmd' using rmarkdown
Quitting from lines 150-160 (three-level.Rmd) 
Error: processing vignette 'three-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'three-level.Rmd'

--- re-building 'two-level.Rmd' using rmarkdown
Quitting from lines 123-138 (two-level.Rmd) 
Error: processing vignette 'two-level.Rmd' failed with diagnostics:
invalid value 0 for 'digits' argument
--- failed re-building 'two-level.Rmd'

SUMMARY: processing the following files failed:
  'three-level.Rmd' 'two-level.Rmd'

Error: Vignette re-building failed.
Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory