File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 33^src/tbb/build/lib_.*$
44^inst/lib$
55^.travis.yml
6+ ^tests
67
78
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ Description: High level functions for doing parallel programming with Rcpp.
99 For example, the parallelFor function can be used to convert the work of
1010 a standard serial "for" loop into a parallel one and the parallelReduce
1111 function can be used for accumulating aggregate or other values.
12- Suggests: Rcpp, testthat
1312SystemRequirements: GNU make
1413License: GPL-2
1514Collate:
Original file line number Diff line number Diff line change 11require(methods )
22require(RcppParallel )
33require(testthat )
4- require(Rcpp )
4+
5+ RCPP <- Sys.getenv( " RCPP" )
6+ if ( RCPP == " Rcpp" ){
7+ message( " testing against Rcpp" )
8+ require(Rcpp )
9+ } else if ( RCPP == " Rcpp11" ){
10+ message( " testing against Rcpp11" )
11+ require(attributes )
12+ } else {
13+ stop( " Rcpp implementation not setup, please set the $RCPP environment variable" )
14+ }
515
616test_dir(" testthat" )
717
You can’t perform that action at this time.
0 commit comments