Displaying 1 result from an estimated 1 matches for "r_code_coverag".
Did you mean:
r_code_coverage
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
...P Rprofmem(SEXP args);
diff -ruN R-devel/src/main/eval.c R-devel-cov/src/main/eval.c
--- R-devel/src/main/eval.c 2014-02-21 03:03:36.000000000 +0100
+++ R-devel-cov/src/main/eval.c 2014-03-05 16:32:22.427541357 +0100
@@ -37,6 +37,201 @@
static SEXP bcEval(SEXP, SEXP, Rboolean);
+
+static int R_Code_Coverage = 0;
+#define R_CODE_COVERAGE
+#ifdef R_CODE_COVERAGE
+
+/* A Simple mechanism for implementing code coverage.
+ When code coverage is enables (via the R_Code_Coverage global var),
+ each call to the getSrcref() function will record the current srcref filename and line
+ number.
+ The code co...