Skip to content

Commit ab455b8

Browse files
committed
disabled one R chunk as it requires RcppArmadillo
(which would be another suggests for the Rcpp package as vignettes are tested by R CMD check)
1 parent e36a20a commit ab455b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vignettes/Rcpp-FAQ.Rnw

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,9 @@ writeLines( '
472472
external_highlight( "myfile.cpp", type = "LATEX", doc = FALSE )
473473
@
474474

475-
<<>>=
475+
%% Running this now makes the package depend on RcppArmadillo being installed
476+
%% and would require at least a Suggests
477+
<<eval=FALSE>>=
476478
fx <- cxxfunction(
477479
signature(x_ = "numeric", Y_ = "matrix", z_ = "numeric" ),
478480
paste( readLines( "myfile.cpp" ), collapse = "\n" ),

0 commit comments

Comments
 (0)