Error(s) in re-building vignettes:
  ...
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette ‘quickdemo.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette ‘selectionbias.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette ‘quickdemo.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette ‘selectionbias.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette 'quickdemo.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette 'selectionbias.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette 'quickdemo.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette 'selectionbias.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building 'quickdemo.Rmd' using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette 'quickdemo.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building 'quickdemo.Rmd'

--- re-building 'selectionbias.Rmd' using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette 'selectionbias.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building 'selectionbias.Rmd'

SUMMARY: processing the following files failed:
  'quickdemo.Rmd' 'selectionbias.Rmd'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette ‘quickdemo.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette ‘selectionbias.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘quickdemo.Rmd’ using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette ‘quickdemo.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘quickdemo.Rmd’

--- re-building ‘selectionbias.Rmd’ using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette ‘selectionbias.Rmd’ failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building ‘selectionbias.Rmd’

SUMMARY: processing the following files failed:
  ‘quickdemo.Rmd’ ‘selectionbias.Rmd’

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
--- re-building 'quickdemo.Rmd' using rmarkdown
Quitting from lines 38-46 (quickdemo.Rmd) 
Error: processing vignette 'quickdemo.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building 'quickdemo.Rmd'

--- re-building 'selectionbias.Rmd' using rmarkdown
Quitting from lines 154-164 (selectionbias.Rmd) 
Error: processing vignette 'selectionbias.Rmd' failed with diagnostics:
ℹ In argument: `his.lag = if_else(...)`.
ℹ In group 1: `ID = 1001`.
Caused by error in `nth()`:
! Can't convert `default` <character> to match type of `x` <double>.
--- failed re-building 'selectionbias.Rmd'

SUMMARY: processing the following files failed:
  'quickdemo.Rmd' 'selectionbias.Rmd'

Error: Vignette re-building failed.
Execution halted
install log '' does not exist