![]() (Windows only) if the Rust installation has the required toolchain, stable-msvc. ![]() if the Rust version is not too old to support (“MSRV”).Moreover, I do want to check the cargo functionality more precisely, for example, So far, I used Makevars.win for testing the existence of cargo, but it seems configure scripts are the better place for this. Actually, I got this request from CRAN:īy the way, ideally string2path would use configure to test for cargo If your package needs some system-dependent configuration before installation you can include an executable (Bourne shell script configure in your package which (if present) is executed by R CMD INSTALL before any other action is performed.Ĭonfigure is executed on UNIX-alikes, and Windows uses a different file configure.win 1. What is a configure script?Ī configure script is often used for configuring Makefile or Makevars, depending on the user’s setup. To avoid this, we can set CARGO_HOME to the package’s local directory, like gifski package does. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |