Skip to content

Commit 532c9c7

Browse files
committed
Tweak codecov setup too
1 parent 73c0a83 commit 532c9c7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
comment: false
2+
23
coverage:
34
status:
45
project:
@@ -9,6 +10,9 @@ coverage:
910
default:
1011
target: 0% # the (on purpose low) required coverage value
1112

13+
ignore:
14+
- 'R/inline.R' # function factory setup confuses codecov
15+
1216
# layout: "header, diff, tree, changes"
1317
# behavior: default
1418
# require_changes: false # if true: only post the comment if coverage changes

R/inline.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Rcpp.plugin.maker <- function(include.before = "",
2424
Makevars = NULL ,
2525
Makevars.win = NULL,
2626
package = "Rcpp") {
27-
# #nocov start
2827
function(...) {
2928
includes <- sprintf("%s
3029
#include <Rcpp.h>
@@ -39,7 +38,6 @@ Rcpp.plugin.maker <- function(include.before = "",
3938
#endif
4039
4140
using namespace Rcpp;", include.before, include.after)
42-
# #nocov end
4341
out <- list(env = list( PKG_LIBS = libs ),
4442
includes = includes,
4543
LinkingTo = LinkingTo ,

0 commit comments

Comments
 (0)