@@ -1196,8 +1196,8 @@ This is what is currently supported:
1196
1196
\item Pre-defined constants including:
1197
1197
\begin {itemize }
1198
1198
\item Booleans: \code {true} and \code {false}
1199
- \item Null Values: \code {R_NilValue }, \code {NA_STRING },
1200
- \code {NA_INTEGER }, \code {NA_REAL }, and \code {NA_LOGICAL }.
1199
+ \item Null Values: \code {R \_ NilValue }, \code {NA \_ STRING },
1200
+ \code {NA \_ INTEGER }, \code {NA \_ REAL }, and \code {NA \_ LOGICAL }.
1201
1201
\end {itemize }
1202
1202
\item Selected vector types can be instantiated using the empty form of the
1203
1203
\code {::create} static member function.
@@ -1222,9 +1222,9 @@ how to:
1222
1222
void sample_defaults(NumericVector x = NumericVector :: create(), // Size 0 vector
1223
1223
bool bias = true , // Set to true
1224
1224
std :: string method = " rcpp rules!" ){ // Default string
1225
- Rcpp :: Rcout << " x size: " << x.size() << " , " ;
1226
- Rcpp :: Rcout << " bias value: " << bias << " , " ;
1227
- Rcpp :: Rcout << " method value: " << method << std :: endl ;
1225
+ Rcpp :: Rcout << " x size: " << x.size() << " , " ;
1226
+ Rcpp :: Rcout << " bias value: " << bias << " , " ;
1227
+ Rcpp :: Rcout << " method value: " << method << std :: endl ;
1228
1228
}
1229
1229
1230
1230
/*** R
0 commit comments