From 0192b84a0f730eaac331888dbd87fee701b46a52 Mon Sep 17 00:00:00 2001 From: Josiah Parry Date: Sun, 24 Sep 2023 07:47:29 -0400 Subject: [PATCH] Update vignettes/articles/cran-compliance.Rmd Co-authored-by: Ilia Kosenkov --- vignettes/articles/cran-compliance.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/articles/cran-compliance.Rmd b/vignettes/articles/cran-compliance.Rmd index 50a0d35e..81a1789c 100644 --- a/vignettes/articles/cran-compliance.Rmd +++ b/vignettes/articles/cran-compliance.Rmd @@ -61,7 +61,7 @@ rextendr provides default CRAN compliant scaffolding via the `use_cran_defaults( ### Making a package CRAN compliant -To create a CRAN compliant R package begin by creating a new R package. Do so by using `usethis::create_package()`. In the new R project, run `rextendr::use_extendr()` to create the minimal scaffolding necessary for a Rust powered R package. Once you have done this, you can now run `rextendr::use_cran_defaults()`. +To create a CRAN compliant R package begin by creating a new R package. Do so by calling `usethis::create_package()`. In the new R project, run `rextendr::use_extendr()` to create the minimal scaffolding necessary for a Rust-powered R package. Once you have done this, you can now run `rextendr::use_cran_defaults()`. `use_cran_defaults()` will create the files `configure` and `configure.win` files. Additionally, it will create new `Makevars` and `Makevars.win` that print the versions of cargo and rustc as well as uses the `cargo build` argument `-j 2 --offline`.