Skip to content

Commit

Permalink
Update vignettes/articles/cran-compliance.Rmd
Browse files Browse the repository at this point in the history
Co-authored-by: Ilia Kosenkov <[email protected]>
  • Loading branch information
JosiahParry and Ilia-Kosenkov authored Sep 24, 2023
1 parent eda7809 commit e54dc06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/articles/cran-compliance.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ rextendr provides default CRAN compliant scaffolding via the `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`.
`use_cran_defaults()` will create the `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 use the `cargo build` argument `-j 2 --offline`.

### Vendoring packages

Expand Down

0 comments on commit e54dc06

Please sign in to comment.