Skip to content

Commit

Permalink
remove try_save_all() to ensure that no files are saved without inten…
Browse files Browse the repository at this point in the history
…tion (#407)
  • Loading branch information
JosiahParry authored Nov 26, 2024
1 parent 1601fa1 commit b20d88c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Suggests:
knitr,
lintr,
rmarkdown,
rstudioapi,
testthat (>= 3.1.7),
usethis
VignetteBuilder:
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# rextendr (development version)

* `document()` will no longer try to save all open files using rstudioapi <https://github.com/extendr/rextendr/issues/404> <https://github.com/extendr/rextendr/issues/407>
* `use_cran_default()` has been removed as the default package template is CRAN compatible <https://github.com/extendr/rextendr/pull/394>
* `use_extendr()` now creates `tools/msrv.R`, `configure` and `configure.win`. These have been moved out of `use_cran_defaults()` <https://github.com/extendr/rextendr/pull/393>
* `Makevars` now prints linked static libraries at compile time by adding `--print=native-static-libs` to `RUSTFLAGS` <https://github.com/extendr/rextendr/pull/393>
Expand Down
2 changes: 0 additions & 2 deletions R/rextendr_document.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#' @return No return value, called for side effects.
#' @export
document <- function(pkg = ".", quiet = FALSE, roclets = NULL) {
try_save_all(quiet = quiet)

withr::local_envvar(devtools::r_env_vars())

register_extendr(path = pkg, quiet = quiet)
Expand Down
15 changes: 0 additions & 15 deletions R/try_save_all.R

This file was deleted.

0 comments on commit b20d88c

Please sign in to comment.