Displaying 1 result from an estimated 1 matches for "do_rcov_start".
2014 Mar 05
1
[PATCH] Code coverage support proof of concept
.../src/utils.c R-devel-cov/src/library/utils/src/utils.c
--- R-devel/src/library/utils/src/utils.c 2012-10-01 17:52:17.000000000 +0200
+++ R-devel-cov/src/library/utils/src/utils.c 2014-03-03 16:24:06.259419131 +0100
@@ -27,6 +27,22 @@
#include "utils.h"
/* from src/main/eval.c */
+void do_Rcov_start(int nb_lines, double growth_rate);
+SEXP do_Rcov_stop(void);
+
+SEXP Rcov_start(SEXP args)
+{
+ do_Rcov_start(asInteger(CADR(args)), asReal(CADDR(args)));
+ return R_NilValue; /* -Wall */
+}
+
+
+SEXP Rcov_stop(void)
+{
+ return do_Rcov_stop();
+}
+
+/* from src/main/eval.c */
SEXP do_Rp...