Skip to content

Commit

Permalink
remove default for version parameter
Browse files Browse the repository at this point in the history
Co-authored-by: Josiah Parry <josiah.parry@gmail.com>
  • Loading branch information
kbvernon and JosiahParry committed Sep 7, 2024
1 parent 5d5a69f commit 2a9f74a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/use_msrv.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' use_msrv("1.67.1")
#' }
#'

Check warning on line 17 in R/use_msrv.R

View workflow job for this annotation

GitHub Actions / lint

file=R/use_msrv.R,line=17,col=3,[trailing_whitespace_linter] Trailing whitespace is superfluous.
use_msrv <- function(version = NULL, path = "."){
use_msrv <- function(version, path = "."){

Check warning on line 18 in R/use_msrv.R

View workflow job for this annotation

GitHub Actions / lint

file=R/use_msrv.R,line=18,col=42,[brace_linter] There should be a space before an opening curly brace.

Check warning on line 18 in R/use_msrv.R

View workflow job for this annotation

GitHub Actions / lint

file=R/use_msrv.R,line=18,col=42,[paren_body_linter] There should be a space between a right parenthesis and a body expression.

if (length(version) != 1L) {
cli::cli_abort("Version must be a character scalar", class = "rextendr_error")
Expand Down

0 comments on commit 2a9f74a

Please sign in to comment.