Skip to content

Commit

Permalink
remove extraneous roundtrip parameter from redoc() in dedoc addin, f…
Browse files Browse the repository at this point in the history
…ixes noamross#57

My understanding is that this is a remnant of a pre-refactor form of dedoc() as dedoc() currently does not use this parameter and handles the roundtrip process internally; I tested it without the parameter and it seems to work but will require review to make sure I didn't miss anything.
  • Loading branch information
petrbouchal committed Mar 14, 2020
1 parent 3393313 commit a62dd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/addins.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ roundtrip_active_file <- function() {
rstudioapi::documentSave(active_file$id)
docfile <- rmarkdown::render(
normalizePath(active_file$path),
output_format = redoc(roundtrip = TRUE),
output_format = redoc(),
quiet = TRUE,
clean = TRUE
)
Expand Down

0 comments on commit a62dd92

Please sign in to comment.