Skip to content

Commit 5d3b89a

Browse files
Update vendor function from vendor_pkgs to vendor_crates (#90)
1 parent ab77417 commit 5d3b89a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user-guide/cran-publishing.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Publishing to CRAN
55
extendr-based packges are CRAN compatible **out of the box**! You only have to do _one_ additional step—vendor your Rust dependencies.
66

77
```r
8-
rextendr::vendor_pkgs()
8+
rextendr::vendor_crates()
99
```
1010

1111
That's it!
@@ -32,6 +32,6 @@ CRAN does not support nightly features as of this writing. Any package you plan
3232

3333
One of the reasons we love CRAN is that they take portability seriously. Because of this, an R package must contain everything it needs to build. This means that the Rust dependencies must not be downloaded as the package is installed.
3434

35-
Vendoring is the process of embedding the source code of our dependencies into our R package. `vendor_pkgs()` creates a `vendor.tar.xz` file which contains the compressed source of all the dependencies.
35+
Vendoring is the process of embedding the source code of our dependencies into our R package. `vendor_crates()` creates a `vendor.tar.xz` file which contains the compressed source of all the dependencies.
3636

3737

0 commit comments

Comments
 (0)