@@ -42,7 +42,7 @@ fontsize: 9pt
42
42
# Optional: Force one-column layout, default is two-column
43
43
# one_column: true
44
44
45
- # Optional: Enables lineo mode, but only if one_column mode is also true
45
+ # Optional: Enables lineno mode, but only if one_column mode is also true
46
46
# lineno: true
47
47
48
48
# Optional: Enable one-sided layout, default is two-sided
@@ -111,7 +111,7 @@ vignette("Rcpp-attributes")
111
111
```
112
112
113
113
If you do not have \pkg{Rcpp} installed, these documents should also be available
114
- whereever you found this document, \textsl{i.e.,} on every mirror site of CRAN.
114
+ wherever you found this document, \textsl{i.e.,} on every mirror site of CRAN.
115
115
116
116
## What do I need
117
117
@@ -157,7 +157,7 @@ Specific per-platform notes:
157
157
Fortran-using packages are to be built); also see \faq{q: OSX } and
158
158
\faq{q: OSXArma } below. This is frustratingly moving target; consult
159
159
the \code{r-sig-mac} list (and its archives) for (current) details.
160
- \item[ Linux] user need to install the standard developement packages. Some
160
+ \item[ Linux] user need to install the standard development packages. Some
161
161
distributions provide helper packages which pull in all the required
162
162
packages; the \texttt{r-base-dev} package on Debian and Ubuntu is an example.
163
163
\end{description}
@@ -181,7 +181,7 @@ exhaustive as CRAN by now has \textsl{many} helpful packages:
181
181
Attributes (see \faq{using-attributes} and
182
182
\faq{prototype-using-attributes}) feature provided by \pkg{Rcpp};
183
183
\item[ \pkg{RUnit}, \pkg{tinytest}, \pkg{testthat}] can be used for unit
184
- testing; \pkg{Rcpp} uses \pkg{tinytest} as it is ligthweight and installs the
184
+ testing; \pkg{Rcpp} uses \pkg{tinytest} as it is lightweight and installs the
185
185
tests along with the package by default but note that no testing package is
186
186
\textsl{required}: all are optional;
187
187
\item[ \pkg{rbenchmark}, \pkg{microbenchmark}] to run simple timing
@@ -301,12 +301,12 @@ the supplied code and makes it available under the selected identifier.
301
301
Similarly, \rdoc{Rcpp}{sourceCpp} can read in a file and compile, link and load
302
302
the code therein.
303
303
304
- ## How do I convert my prototyped code to a package {#from-inline-to-package}
304
+ ## How do I convert my prototype code to a package {#from-inline-to-package}
305
305
306
306
Since release 0.3.5 of \pkg{inline}, one can combine \faq{using-inline} and
307
307
\faq{make-package}. See ` help("package.skeleton-methods") ` once
308
308
\pkg{inline} is loaded and use the skeleton-generating functionality to
309
- transform a prototyped function into the minimal structure of a package.
309
+ transform a prototype function into the minimal structure of a package.
310
310
After that you can proceed with working on the package in the spirit of
311
311
\faq{make-package}.
312
312
@@ -384,7 +384,7 @@ for you.
384
384
Note that we always need to set ` PKG_CXXFLAGS ` (or equally ` PKG_CPPFLAGS ` ) to tell R
385
385
where the \pkg{Rcpp} headers files are located.
386
386
387
- Once ` R CMD SHLIB ` has created the dyanmically -loadable file (with
387
+ Once ` R CMD SHLIB ` has created the dynamically -loadable file (with
388
388
extension ` .so ` on Linux, ` .dylib ` on macOS or ` .dll ` on
389
389
Windows), it can be loaded in an R session via \rdoc{base}{dyn.load}, and the
390
390
function can be executed via \rdoc{base}{.Call}. Needless to say, we
@@ -551,7 +551,7 @@ By now REvolution R is defunct too.
551
551
552
552
Rho, previously known as CXXR, is an ambitious project that aims to
553
553
totally refactor the \proglang{R} interpreter in \proglang{C++}. There
554
- are a few similaritites with \pkg{Rcpp} but the projects are
554
+ are a few similarities with \pkg{Rcpp} but the projects are
555
555
unrelated.
556
556
557
557
Rho / CXXR and \pkg{Rcpp} both want \proglang{R} to make more use of \proglang{C++}
@@ -1110,7 +1110,7 @@ at some limit. We chose 20.
1110
1110
1111
1111
A good discussion is available at
1112
1112
[ this StackOverflow question] ( http://stackoverflow.com/questions/27371543 )
1113
- concering data.frame creation with \pkg{Rcpp}. One solution offers a custom
1113
+ concerning data.frame creation with \pkg{Rcpp}. One solution offers a custom
1114
1114
` ListBuilder ` class to circumvent the limit; another suggests to simply
1115
1115
nest lists.
1116
1116
@@ -1171,7 +1171,7 @@ But of course. In a nutshell, this boils down to \emph{what your compiler
1171
1171
[Rcpp Gallery article](http://gallery.rcpp.org/articles/rcpp-and-c++11-c++14-c++17/) providing more detail. What follows in an abridged summary.
1172
1172
1173
1173
You can always \emph{locally} set appropriate `PKG_CXXFLAGS` as an
1174
- environment variable, or via `~/.R/Makevars`. You can also plugins and/or R
1174
+ environment variable, or via `~/.R/Makevars`. You can also set plugins and/or R
1175
1175
support from `src/Makevars`:
1176
1176
1177
1177
- _C++11_: has been supported since early 2013 via a plugin selecting
@@ -1239,7 +1239,7 @@ and all three formats are also available a zip-archives:
1239
1239
1240
1240
## Does it really work
1241
1241
1242
- We take quality seriously and have developped an extensive unit test suite to
1242
+ We take quality seriously and have developed an extensive unit test suite to
1243
1243
cover many possible uses of the \pkg{Rcpp} API.
1244
1244
1245
1245
We are always on the look for more coverage in our testing. Please let us know
@@ -1452,7 +1452,7 @@ circumvented as it is really a pointer to the underlying R object.
1452
1452
## Issues with implicit conversion from an \pkg{Rcpp} object to a scalar or other \pkg{Rcpp} object
1453
1453
1454
1454
Not all \pkg{Rcpp} expressions are directly compatible with
1455
- ` operator= ` . Compability issues stem from many \pkg{Rcpp} objects and
1455
+ ` operator= ` . Compatibility issues stem from many \pkg{Rcpp} objects and
1456
1456
functions returning an intermediary result which requires an explicit
1457
1457
conversion. In such cases, the user may need to assist the compiler
1458
1458
with the conversion.
@@ -1587,7 +1587,7 @@ There are three options to trigger compilation with \proglang{C++11}.
1587
1587
The first -- and most likely option to use -- will be the plugin support offered
1588
1588
by \pkg{Rcpp} attributes. This can be engaged by adding
1589
1589
` // [[Rcpp::plugins(cpp11)]] ` to the top of the \proglang{C++} script.
1590
- For diagnostic and illustrativative purposes, consider the following code
1590
+ For diagnostic and illustrative purposes, consider the following code
1591
1591
which checks to see if ` R_xlen_t ` is available on your platform:
1592
1592
1593
1593
``` {Rcpp}
@@ -1732,7 +1732,7 @@ figure out what routines need to be registered. If an older `RcppExports.R` file
1732
1732
is discovered, its out-of-date symbol names get picked up, and registration
1733
1733
rules for those symbols get written as well. This will register more symbols for
1734
1734
the package than are actually defined, leading to an error. This point has been
1735
- discussed at some length both in the GitHub issue tickes , on StackOverflow and
1735
+ discussed at some length both in the GitHub issue tickets , on StackOverflow and
1736
1736
elsewhere.
1737
1737
1738
1738
So if your autogenerated file fails, and a ` symbols not found ` error is reported
0 commit comments