Skip to content

Commit e9e1a41

Browse files
committed
Remove should_run_benchmarks() where not used
1 parent 7dafccf commit e9e1a41

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

vignettes/converting.Rmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ knitr::opts_chunk$set(
1212
collapse = TRUE,
1313
comment = "#>"
1414
)
15-
16-
should_run_benchmarks <- function(x) {
17-
get("requireNamespace")("cpp11test", quietly = TRUE) && asNamespace("cpp11test")$should_run_benchmarks()
18-
}
1915
```
2016

2117
In many cases there is no need to convert a package from Rcpp.

0 commit comments

Comments
 (0)