Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify extendr-api version in Cargo.toml #348

Open
JosiahParry opened this issue Mar 31, 2024 · 0 comments
Open

Specify extendr-api version in Cargo.toml #348

JosiahParry opened this issue Mar 31, 2024 · 0 comments

Comments

@JosiahParry
Copy link
Contributor

At present, when a new extendr project is created using rextendr::use_extendr(), the Cargo.toml file does not specify the version of extendr-api

[dependencies]
extendr-api = '*'

I think it would be very nice to specify the version of extendr to be the latest e.g. 0.6.0 as a default argument in use_extendr().

For example:

use_extendr <- function(
    path = ".",
    crate_name = NULL,
    lib_name = NULL,
    quiet = FALSE,
    overwrite = NULL,
    edition = c("2021", "2018"),
    version = "0.6.0"
) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant