Skip to content

Commit 9f2352c

Browse files
committed
update several URLs to https
1 parent 8679f81 commit 9f2352c

File tree

6 files changed

+30
-24
lines changed

6 files changed

+30
-24
lines changed

ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2022-07-01 Dirk Eddelbuettel <[email protected]>
2+
3+
* man/dependsAttribute.Rd: Use https in URL
4+
* man/exportAttribute.Rd: Idem
5+
* man/interfacesAttribute.Rd: Idem
6+
* DESCRIPTION (URL): Idem
7+
* README.md: Idem, use Amazon page for Rcpp book
8+
19
2022-05-26 Dirk Eddelbuettel <[email protected]>
210

311
* DESCRIPTION (Version, Date): Roll minor version

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Description: The 'Rcpp' package provides R functions as well as C++ classes whic
1616
<doi:10.1080/00031305.2017.1375990>); see 'citation("Rcpp")' for details.
1717
Imports: methods, utils
1818
Suggests: tinytest, inline, rbenchmark, pkgKitten (>= 0.1.2)
19-
URL: http://www.rcpp.org, https://dirk.eddelbuettel.com/code/rcpp.html, https://github.com/RcppCore/Rcpp
19+
URL: https://www.rcpp.org, https://dirk.eddelbuettel.com/code/rcpp.html, https://github.com/RcppCore/Rcpp
2020
License: GPL (>= 2)
2121
BugReports: https://github.com/RcppCore/Rcpp/issues
2222
MailingList: [email protected]

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![BioConductor use](https://jangorecki.gitlab.io/rdeps/Rcpp/BioC_usage.svg?sanitize=true)](https://cran.r-project.org/package=Rcpp)
1515
[![StackOverflow](https://img.shields.io/badge/stackoverflow-rcpp-orange.svg)](https://stackoverflow.com/questions/tagged/rcpp)
1616
[![JSS](https://img.shields.io/badge/JSS-10.18637%2Fjss.v040.i08-brightgreen)](https://dx.doi.org/10.18637/jss.v040.i08)
17-
[![Springer useR!](https://img.shields.io/badge/Springer%20useR!-10.1007%2F978--1--4614--6868--4-brightgreen)](https://link.springer.com/gp/book/9781461468677)
17+
[![Springer useR!](https://img.shields.io/badge/Springer%20useR!-10.1007%2F978--1--4614--6868--4-brightgreen)](http://www.amazon.com/gp/product/1461468671/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1461468671&linkCode=as2&tag=rcpp-20&linkId=3P5LNUWOAQ2YMEJ6)
1818
[![TAS](https://img.shields.io/badge/TAS-10.1080%2F00031305.2017.1375990-brightgreen)](https://dx.doi.org/10.1080/00031305.2017.1375990)
1919

2020
### Synopsis
@@ -34,10 +34,10 @@ vignette (now published as a
3434
[earlier introduction](https://cran.r-project.org/package=Rcpp/vignettes/Rcpp-jss-2011.pdf)
3535
was also published as a [JSS paper](https://doi.org/10.18637/jss.v040.i08)
3636
provides a good entry point to Rcpp as do the [Rcpp
37-
website](http://www.rcpp.org), the [Rcpp
37+
website](https://www.rcpp.org), the [Rcpp
3838
page](https://dirk.eddelbuettel.com/code/rcpp.html) and the [Rcpp
3939
Gallery](https://gallery.rcpp.org). Full documentation is provided by the
40-
[Rcpp book](http://www.rcpp.org/book/).
40+
[Rcpp book](http://www.amazon.com/gp/product/1461468671/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1461468671&linkCode=as2&tag=rcpp-20&linkId=3P5LNUWOAQ2YMEJ6).
4141

4242
Other highlights:
4343

@@ -78,7 +78,7 @@ Among the other vignettes are the [Rcpp
7878
FAQ](https://cran.r-project.org/package=Rcpp/vignettes/Rcpp-FAQ.pdf) and the
7979
introduction to [Rcpp
8080
Attributes](https://cran.r-project.org/package=Rcpp/vignettes/Rcpp-attributes.pdf).
81-
Additional documentation is available via the [Rcpp book](http://www.rcpp.org/book/)
81+
Additional documentation is available via the [Rcpp book](http://www.amazon.com/gp/product/1461468671/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1461468671&linkCode=as2&tag=rcpp-20&linkId=3P5LNUWOAQ2YMEJ6)
8282
by Eddelbuettel (2013, Springer); see 'citation("Rcpp")' for details.
8383

8484
### Performance

man/dependsAttribute.Rd

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ The \code{Rcpp::depends} attribute is added to a C++ source file to indicate tha
1717
}
1818

1919
\details{
20-
The \code{Rcpp::depends} attribute is used by the implementation of the \code{\link{sourceCpp}} function to correctly setup the build environment for \code{R CMD SHLIB}.
21-
20+
The \code{Rcpp::depends} attribute is used by the implementation of the \code{\link{sourceCpp}} function to correctly setup the build environment for \code{R CMD SHLIB}.
21+
2222
The include directories of the specified packages are added to the \code{CLINK_CPPFLAGS} environment variable. In addition, if the referenced package provides an \link[inline:plugins]{inline plugin} it is called to determine additional environment variables required to successfully build.
2323

2424
}
2525

2626
\note{
27-
The \code{Rcpp::depends} attribute is specified using a syntax compatible with the new \href{http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
27+
The \code{Rcpp::depends} attribute is specified using a syntax compatible with the new \href{https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
2828
}
2929

3030

@@ -40,4 +40,3 @@ The \code{Rcpp::depends} attribute is added to a C++ source file to indicate tha
4040
// [[Rcpp::depends(Matrix, RcppGSL)]]
4141
}
4242
}
43-

man/exportAttribute.Rd

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ The \code{Rcpp::export} attribute is added to a C++ function definition to indic
2121
\item Use fully qualified type names for the return value and all parameters. However, Rcpp types may appear without the namespace qualifier (i.e. \code{DataFrame} is okay as a type name but \code{std::string} must be specified fully).
2222
}
2323
If default argument values are provided in the C++ function definition then these defaults are also used for the exported R function. For example, the following C++ function:
24-
24+
2525
\preformatted{
2626
DataFrame readData(
27-
CharacterVector file,
27+
CharacterVector file,
2828
CharacterVector exclude = CharacterVector::create(),
2929
bool fill = true)
3030
}
@@ -41,8 +41,8 @@ function (file, exclude = character(0), fill = TRUE)
4141
4242
\note{
4343
When a C++ function has export bindings automatically generated by the \code{\link{compileAttributes}} function, it can optionally also have a direct C++ interface generated using the \code{\link[=interfacesAttribute]{Rcpp::interfaces}} attribute.
44-
45-
The \code{Rcpp::export} attribute is specified using a syntax compatible with the new \href{http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
44+
45+
o The \code{Rcpp::export} attribute is specified using a syntax compatible with the new \href{https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
4646
}
4747
4848
\seealso{
@@ -61,7 +61,7 @@ int fibonacci(const int x) {
6161
6262
if (x == 0) return(0);
6363
if (x == 1) return(1);
64-
64+
6565
return (fibonacci(x - 1)) + fibonacci(x - 2);
6666
}
6767
@@ -71,11 +71,11 @@ NumericVector convolve(NumericVector a, NumericVector b) {
7171
int na = a.size(), nb = b.size();
7272
int nab = na + nb - 1;
7373
NumericVector xab(nab);
74-
74+
7575
for (int i = 0; i < na; i++)
7676
for (int j = 0; j < nb; j++)
7777
xab[i + j] += a[i] * b[j];
78-
78+
7979
return xab;
8080
}
8181
}

man/interfacesAttribute.Rd

+7-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ The \code{Rcpp::interfaces} attribute is added to a C++ source file to specify w
1717
}
1818

1919
\details{
20-
The \code{Rcpp::interfaces} attribute is used to determine which bindings to generate for exported functions. The default behavior if no \code{Rcpp::interfaces} attribute is specified is to generate only an R interface.
21-
20+
The \code{Rcpp::interfaces} attribute is used to determine which bindings to generate for exported functions. The default behavior if no \code{Rcpp::interfaces} attribute is specified is to generate only an R interface.
21+
2222
When \code{cpp} bindings are requested code is generated as follows:
2323

2424
\enumerate{
2525
\item Bindings are generated into a header file located in the \code{inst/include} directory of the package using the naming convention \emph{PackageName_RcppExports.h}
26-
\item If not already present, an additional header file named \emph{PackageName.h} is also generated which in turn includes the Rcpp exports header.
27-
26+
\item If not already present, an additional header file named \emph{PackageName.h} is also generated which in turn includes the Rcpp exports header.
27+
2828
In the case that you already have a \emph{PackageName.h} header for your package then you can manually add an include of the Rcpp exports header to it to make the exported functions available to users of your package.
2929
\item The generated header file allows calling the exported C++ functions without any linking dependency on the package (this is based on using the \code{R_RegisterCCallable} and \code{R_GetCCallable} functions).
3030
\item The exported functions are defined within a C++ namespace that matches the name of the package.
@@ -41,17 +41,17 @@ For example, an exported C++ function \code{foo} could be called from package \c
4141
}
4242
}
4343

44-
The above example assumes that the \code{sourceCpp} function will be used to compile the code. If rather than that you are building a package then you don't need to include the \code{Rcpp::depends} attribute, but instead should add an entry for the referenced package in the \code{Depends} and \code{LinkingTo} fields of your package's \code{DESCRIPTION} file.
44+
The above example assumes that the \code{sourceCpp} function will be used to compile the code. If rather than that you are building a package then you don't need to include the \code{Rcpp::depends} attribute, but instead should add an entry for the referenced package in the \code{Depends} and \code{LinkingTo} fields of your package's \code{DESCRIPTION} file.
4545

4646
}
4747

4848
\note{
4949

5050
If a file by the name of \emph{PackageName.h} that wasn't generated by \code{compileAttributes} already exists in in the \code{inst/include} directory then it will not be overwritten (rather, an error will occur).
51-
51+
5252
A static naming scheme for generated header files and namespaces is used to ensure consistent usage semantics for clients of exported \code{cpp} interfaces. Packages that wish to export more complex interfaces or additional C++ types are therefore typically better off not using this mechanism.
5353
54-
The \code{Rcpp::interfaces} attribute is specified using a syntax compatible with the new \href{http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
54+
The \code{Rcpp::interfaces} attribute is specified using a syntax compatible with the new \href{https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf}{generalized attributes} feature of the C++11 standard. Note however that since this feature is not yet broadly supported by compilers it needs to be specified within a comment (see examples below).
5555
}
5656
5757
@@ -65,4 +65,3 @@ For example, an exported C++ function \code{foo} could be called from package \c
6565
// [[Rcpp::interfaces(r, cpp)]]
6666
}
6767
}
68-

0 commit comments

Comments
 (0)