Skip to content

Commit 3b62e84

Browse files
committed
fix URLs
1 parent 3ce6014 commit 3b62e84

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ working_dir
1616
.lintr
1717
^docs$
1818
TODO
19+
^CRAN-SUBMISSION$

README.Rmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ knitr::opts_chunk$set(
1515
# RcppXPtrUtils: XPtr Add-Ons for 'Rcpp'
1616

1717
[![Build Status](https://github.com/Enchufa2/RcppXPtrUtils/actions/workflows/build.yml/badge.svg)](https://github.com/Enchufa2/RcppXPtrUtils/actions/workflows/build.yml)
18-
[![Coverage Status](https://codecov.io/gh/Enchufa2/RcppXPtrUtils/branch/master/graph/badge.svg)](https://codecov.io/gh/Enchufa2/RcppXPtrUtils)
18+
[![Coverage Status](https://codecov.io/gh/Enchufa2/RcppXPtrUtils/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Enchufa2/RcppXPtrUtils)
1919
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/RcppXPtrUtils)](https://cran.r-project.org/package=RcppXPtrUtils)
2020
[![Downloads](https://cranlogs.r-pkg.org/badges/RcppXPtrUtils)](https://cran.r-project.org/package=RcppXPtrUtils)
2121

@@ -29,11 +29,10 @@ Install the release version from CRAN:
2929
install.packages("RcppXPtrUtils")
3030
```
3131

32-
The installation from GitHub requires the [devtools](https://github.com/hadley/devtools) package.
32+
The installation from GitHub can be done with the [remotes](https://cran.r-project.org/package=remotes) package:
3333

3434
```{r, eval=FALSE}
35-
# install.packages("devtools")
36-
devtools::install_github("Enchufa2/RcppXPtrUtils")
35+
remotes::install_github("Enchufa2/RcppXPtrUtils")
3736
```
3837

3938
## Use case

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build
77
Status](https://github.com/Enchufa2/RcppXPtrUtils/actions/workflows/build.yml/badge.svg)](https://github.com/Enchufa2/RcppXPtrUtils/actions/workflows/build.yml)
88
[![Coverage
9-
Status](https://codecov.io/gh/Enchufa2/RcppXPtrUtils/branch/master/graph/badge.svg)](https://codecov.io/gh/Enchufa2/RcppXPtrUtils)
9+
Status](https://codecov.io/gh/Enchufa2/RcppXPtrUtils/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Enchufa2/RcppXPtrUtils)
1010
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/RcppXPtrUtils)](https://cran.r-project.org/package=RcppXPtrUtils)
1111
[![Downloads](https://cranlogs.r-pkg.org/badges/RcppXPtrUtils)](https://cran.r-project.org/package=RcppXPtrUtils)
1212

@@ -22,12 +22,11 @@ Install the release version from CRAN:
2222
install.packages("RcppXPtrUtils")
2323
```
2424

25-
The installation from GitHub requires the
26-
[devtools](https://github.com/hadley/devtools) package.
25+
The installation from GitHub can be done with the
26+
[remotes](https://cran.r-project.org/package=remotes) package:
2727

2828
``` r
29-
# install.packages("devtools")
30-
devtools::install_github("Enchufa2/RcppXPtrUtils")
29+
remotes::install_github("Enchufa2/RcppXPtrUtils")
3130
```
3231

3332
## Use case
@@ -86,12 +85,12 @@ microbenchmark::microbenchmark(
8685
execute_cpp(func_cpp, 1.5)
8786
)
8887
#> Unit: microseconds
89-
#> expr min lq mean median uq
90-
#> execute_r(func_r, 1.5) 14371.06 16081.805 17159.7910 16887.638 18066.667
91-
#> execute_cpp(func_cpp, 1.5) 206.18 218.306 281.4874 232.214 268.673
88+
#> expr min lq mean median uq
89+
#> execute_r(func_r, 1.5) 14910.161 16261.928 17628.8078 17468.1140 18635.388
90+
#> execute_cpp(func_cpp, 1.5) 213.123 223.125 310.2708 237.0265 279.808
9291
#> max neval cld
93-
#> 22969.213 100 b
94-
#> 2432.279 100 a
92+
#> 22657.568 100 b
93+
#> 2417.878 100 a
9594
```
9695

9796
The object returned by `cppXPtr()` is just an `externalptr` wrapped into
@@ -103,7 +102,7 @@ signatures in order to avoid runtime errors. This can be done with the
103102

104103
``` r
105104
func_cpp
106-
#> 'SEXP foo(int n, double l)' <pointer: 0x5636b1e8a840>
105+
#> 'SEXP foo(int n, double l)' <pointer: 0x55909eb28830>
107106
checkXPtr(func_cpp, "SEXP", c("int", "double")) # returns silently
108107
checkXPtr(func_cpp, "int", c("int", "double"))
109108
#> Error in checkXPtr(func_cpp, "int", c("int", "double")): Bad XPtr signature:

cran-comments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## Patch release
1+
## Patch release (resubmission)
22

3-
Fixes CRAN issues.
3+
Fixes CRAN issues. Fixes URLs.
44

55
## Test environments
66

0 commit comments

Comments
 (0)