File tree Expand file tree Collapse file tree 2 files changed +15
-18
lines changed
Expand file tree Collapse file tree 2 files changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -8,26 +8,23 @@ language: c
88
99sudo : required
1010
11- env :
12- global :
13- - R_BUILD_ARGS="--no-build-vignettes --no-manual"
14- - R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
15-
11+ dist : trusty
12+
1613before_install :
17- # # r-travis by Craig Citro et al
18- - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
19- - chmod 755 ./travis-tool.sh
20- - ./travis-tool.sh bootstrap
14+ - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
15+ - chmod 755 ./travis-tool.sh
16+ - ./travis-tool.sh bootstrap
2117
2218install :
23- - ./travis-tool.sh install_github dcdillon/RcppHoney
19+ - ./travis-tool.sh install_aptget r-cran-rcpp
2420
2521script :
26- - true
27- after_script :
28- - ./travis-tool.sh dump_logs
22+ - ./travis-tool.sh run_tests
23+
24+ after_failure :
25+ - ./travis-tool.sh dump_logs
2926
3027notifications :
31- email :
32- on_success : change
33- on_failure : change
28+ email :
29+ on_success : change
30+ on_failure : change
Original file line number Diff line number Diff line change 1- # RcppHoney
1+ # RcppHoney ![ Build Status ] ( https://travis-ci.org/dcdillon/cpuaff.svg?branch=master )
22
33### Description
44
@@ -70,7 +70,7 @@ Rcpp::NumericVector example_manually_hooked() {
7070 // RcppHoney::NumericVector and simply return it to R. These classes inherit from their
7171 // Rcpp counterparts and add a new constructor. The only copy of the data, in this case, is when
7272 // we assign our expression to retval. Since it is then a "native" R type, returning it is a
73- // shallow copy. Alternatively we could simply write this as:
73+ // shallow copy. Alternatively we could write this as:
7474 // return Rcpp::wrap(1 + v + RcppHoney::log(v) - v - 1 + RcppHoney::sqrt(v) + -v2);
7575
7676 RcppHoney::NumericVector retval
You can’t perform that action at this time.
0 commit comments