tests/testthat/_snaps/knitr/test-4.md

Test cpp11 integration.

double mean_cpp(doubles x) {
  int n = x.size();
  double total = 0;
  for (double value : x) {
     total += value;
  }
  return total / n;
}



r-lib/asciicast documentation built on Jan. 31, 2024, 1:19 p.m.