We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think there is a typo in this code: https://github.com/r-lib/pkgdepends/blob/a89923be1648716d8e1c3e8c56421353d72e33ff/R/utils.R#L518C1-L523C2
The variable "thruthy" should be "truthy":
# Incorrect thruthy_strings <- c("true", "t", "1", "on", "yes", "on") # Correct truthy_strings <- c("true", "t", "1", "on", "yes", "on")
So that the function works (which uses truthy_strings):
truthy_strings
is_truthy <- function(x) { (is.logical(x) && length(x) >= 1 && !is.na(x[[1]]) && x[[1]]) || (is.character(x) && length(x) >= 1 && tolower(x) %in% truthy_strings) }
The current development version has an error:
The text was updated successfully, but these errors were encountered:
Thanks! Would you like to submit a PR? (No pressure!)
Sorry, something went wrong.
Yes I can put together a PR, looks like a good opportunity to contribute!
Successfully merging a pull request may close this issue.
I think there is a typo in this code:
https://github.com/r-lib/pkgdepends/blob/a89923be1648716d8e1c3e8c56421353d72e33ff/R/utils.R#L518C1-L523C2
The variable "thruthy" should be "truthy":
So that the function works (which uses
truthy_strings
):The current development version has an error:
The text was updated successfully, but these errors were encountered: