From c2f43b802ee6fe6d19e517eb1d2c8e2ad72f8655 Mon Sep 17 00:00:00 2001 From: Ralf Stubner Date: Tue, 17 Apr 2018 14:59:59 +0200 Subject: [PATCH] Replace back-quotes with straight-quotes in normal text * back-quotes used as single opening quotes by TeX are not necessary since csquotes.sty is used to handle smart quotes * back-quotes can confuse the markdown parser (c.f. section '2.1 Package Creation') --- vignettes/Rcpp-attributes.Rmd | 6 +++--- vignettes/Rcpp-modules.Rmd | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vignettes/Rcpp-attributes.Rmd b/vignettes/Rcpp-attributes.Rmd index ddafd5208..1ca87aedf 100644 --- a/vignettes/Rcpp-attributes.Rmd +++ b/vignettes/Rcpp-attributes.Rmd @@ -557,7 +557,7 @@ moving code from a standalone \proglang{C++} source file to a package: ## Package Creation To create a package that is based on \pkg{Rcpp} you should follow the -guidelines in the `\textsl{Rcpp-package}' vignette. For a new package this +guidelines in the '\textsl{Rcpp-package}' vignette. For a new package this is most conveniently done using the `Rcpp.package.skeleton` function. To generate a new package with a simple hello, world function that uses @@ -686,7 +686,7 @@ inst/include/fastcode.h This header file will also automatically be included in `RcppExports.cpp`. Note that the convention of using `.h` for header files containing C++ code may seem unnatural, but this comes from the -recommended practices described in `\textsl{Writing R Extensions}' +recommended practices described in '\textsl{Writing R Extensions}' \citep{R:Extensions}. ## Roxygen Comments @@ -726,7 +726,7 @@ The interface exposed from \proglang{R} packages is most typically a set of a mechanism to allow the exporting of \proglang{C} and \proglang{C++} interfaces using package header files. This is based on the `R_RegisterCCallable` and `R_GetCCallable` functions described in -`\textsl{Writing R Extensions}' \citep{R:Extensions}. +'\textsl{Writing R Extensions}' \citep{R:Extensions}. \proglang{C++} interfaces to a package are published within the top level `include` directory of the package (which within the package diff --git a/vignettes/Rcpp-modules.Rmd b/vignettes/Rcpp-modules.Rmd index 22b5e82bf..f934eb8b3 100644 --- a/vignettes/Rcpp-modules.Rmd +++ b/vignettes/Rcpp-modules.Rmd @@ -96,7 +96,7 @@ by the \pkg{Rcpp} package and its underlying \proglang{C++} library \citep{CRAN:Rcpp,JSS:Rcpp}. \pkg{Rcpp} smoothes many of the rough edges in \proglang{R} and \proglang{C++} integration by replacing the traditional \proglang{R} Application Programming Interface (API) described in -`\textsl{Writing R Extensions}' \citep{R:Extensions} with a consistent set of \proglang{C++} +'\textsl{Writing R Extensions}' \citep{R:Extensions} with a consistent set of \proglang{C++} classes. The '\textsl{Rcpp-jss-2011}' vignette \citep{CRAN:Rcpp,JSS:Rcpp} describes the API and provides an introduction to using \pkg{Rcpp}.