Replace call to Rf error with Rcpp::stop
Replace call to Rf error with Rcpp::stop: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Replace call to Rf error with Rcpp::stop
The task
**Title:** Replace call to `Rf_error` with `Rcpp::stop`
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.