paulnorthrop / rust

Compare 05f1403 ... +0 ... 54b8d80

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -244,19 +244,14 @@
Loading
244 244
  Rcpp::IntegerVector which_lam = tpars["which_lam"] ;
245 245
  Rcpp::NumericVector theta, phi, psi, phi2, temp, temp2 ;
246 246
  double val, log_bc_jac, logj ;
247 -
  Rcout << "rho = " << rho << std::endl;
248 247
  psi = cpp_rho_to_psi(rho, psi_mode, rot_mat) ;
249 -
  Rcout << "psi = " << psi << std::endl;
250 248
  temp = psi * con + 1.0 ;
251 249
  temp = temp[which_lam] ;
252 -
  Rcout << "temp = " << temp << std::endl;
253 250
  if (any_nonpos(temp)) {
254 251
    return R_NegInf ;
255 252
  }
256 253
  phi = psi_to_phi_fun(psi, lambda, gm, con) ;
257 -
  Rcout << "phi = " << phi << std::endl;
258 254
  theta = phi_to_theta_fun(phi, user_args) ;
259 -
  Rcout << "theta = " << theta << std::endl;
260 255
  if (any_naC(theta)) {
261 256
    return R_NegInf ;
262 257
  }
@@ -297,6 +292,9 @@
Loading
297 292
  double val, logj ;
298 293
  phi = cpp_rho_to_psi(rho, psi_mode, rot_mat) ;
299 294
  theta = phi_to_theta_fun(phi, user_args) ;
295 +
  if (any_infinite(theta)) {
296 +
    return R_NegInf ;
297 +
  }
300 298
  if (any_naC(theta)) {
301 299
    return R_NegInf ;
302 300
  }

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 62.90%
src -0.31% 82.38%
inst/include/rust_RcppExports.h 0.00%
Project Totals (12 files) 67.68%
Loading