Skip to content

Commit

Permalink
fix bug introduced into box_save()
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlyttle committed Feb 3, 2024
1 parent d2615f3 commit 735e03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/boxr_save_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
box_save <- function(..., dir_id = box_getwd(), file_name = ".RData",
description = NULL) {

temp_file <- withr::local_tempfile(pattern = file_name)
temp_file <- fs::path(withr::local_tempdir(), file_name)

Check warning on line 34 in R/boxr_save_load.R

View check run for this annotation

Codecov / codecov/patch

R/boxr_save_load.R#L34

Added line #L34 was not covered by tests

save(..., envir = parent.frame(), file = temp_file)

box_ul(dir_id, temp_file, description = description)
Expand Down

0 comments on commit 735e03d

Please sign in to comment.