Package: MBMethPred 0.1.4.3
Check: re-building of vignette outputs, Result: ERROR
  Error(s) in re-building vignettes:
  --- re-building ‘MBMethPred_introduction.Rmd’ using knitr
  
  Quitting from MBMethPred_introduction.Rmd:229-242 [unnamed-chunk-11]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  <error/rlang_error>
  Error in `prescreen.objective()`:
  ! Objectives with non-default prediction mode (reg:logistic, binary:logitraw, multi:softmax) are not supported in 'xgboost()'. Try 'xgb.train()'.
  ---
  Backtrace:
      ▆
   1. └─MBMethPred::XGBoostModel(...)
   2.   └─parallel::mclapply(...)
   3.     └─base::lapply(X = X, FUN = FUN, ...)
   4.       └─MBMethPred (local) FUN(X[[i]], ...)
   5.         └─xgboost::xgboost(...)
   6.           └─xgboost:::prescreen.objective(objective)
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  Error: processing vignette 'MBMethPred_introduction.Rmd' failed with diagnostics:
  Objectives with non-default prediction mode (reg:logistic, binary:logitraw, multi:softmax) are not supported in 'xgboost()'. Try 'xgb.train()'.
  --- failed re-building ‘MBMethPred_introduction.Rmd’
  
  SUMMARY: processing the following file failed:
    ‘MBMethPred_introduction.Rmd’
  
  Error: Vignette re-building failed.
  Execution halted
