Package: visaOTR 0.1.0
Check: examples, Result: ERROR
  Running examples in ‘visaOTR-Ex.R’ failed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: visa.est
  > ### Title: Valid Improved Sparsity A-Learning for Optimal Treatment
  > ###   Decision
  > ### Aliases: visa.est
  > 
  > ### ** Examples
  > 
  > data(visa_SimuData)
  > y = visa_SimuData$y
  > a = visa_SimuData$a
  > x = visa_SimuData$x
  > # estimation
  > result <- visa.est(y, x, a, IC = "BIC", lambda.list = c(0.1, 0.5))
  Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized),  :
    Passed unrecognized parameters: verbose. This warning will become an error in a future version.
  Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '",  :
    Parameter 'data' has been renamed to 'x'. This warning will become an error in a future version.
  Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized),  :
    Passed unrecognized parameters: verbose. This warning will become an error in a future version.
  Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '",  :
    Parameter 'data' has been renamed to 'x'. This warning will become an error in a future version.
  Warning in parallel::mclapply(seq(no_rep), wt_calc) :
    all scheduled cores encountered errors in user code
  Error in FUN(x, aperm(array(STATS, dims[perm]), order(perm)), ...) : 
    non-numeric argument to binary operator
  Calls: visa.est -> visa.weight -> sweep
  Execution halted
