This PR addresses the Rstudio message issue. When running the test file in Rstudio, it does not print out error message or outputs from vonB$show(). By using Rcpp::stop and Rcout instead of std::cout, we can see error message and outputs from vonB$show() in Rstudio now.
This PR addresses the Rstudio message issue. When running the test file in Rstudio, it does not print out error message or outputs from vonB$show(). By using Rcpp::stop and Rcout instead of std::cout, we can see error message and outputs from vonB$show() in Rstudio now.