Skip to content

Commit

Permalink
fix title, inherit params from usethis::create_package(), and remov…
Browse files Browse the repository at this point in the history
…e `return()`
  • Loading branch information
kbvernon committed Feb 3, 2024
1 parent 51a01f6 commit cbdb5b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/create_extendr_package.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

#' Create a project for R package development with Rust
#' Create package that uses Rust
#'
#' @description
#' This function creates an R project directory for package development
#' with Rust extensions.
#'
#' @param path a path to new directory
#' @inheritParams usethis::create_package
#' @param ... arguments passed on to `usethis::create_package()` and
#' `rextendr::use_extendr()`
#'
Expand Down Expand Up @@ -50,6 +50,6 @@ create_extendr_package <- function(path, ...) {
edition = args[["edition"]] %||% TRUE

Check warning on line 50 in R/create_extendr_package.R

View check run for this annotation

Codecov / codecov/patch

R/create_extendr_package.R#L44-L50

Added lines #L44 - L50 were not covered by tests
)

return(invisible(path))
invisible(path)

Check warning on line 53 in R/create_extendr_package.R

View check run for this annotation

Codecov / codecov/patch

R/create_extendr_package.R#L53

Added line #L53 was not covered by tests

}

0 comments on commit cbdb5b6

Please sign in to comment.