import_review | R Documentation |
Opens a Shiny app that shows a visual diff of each modified file.
import_review(
source_path = "R/",
output_path = get_target_dir(),
background = getOption("autoimport_background", FALSE)
)
source_path |
path to the original R files |
output_path |
path to the updated R files |
background |
whether to run the app in a background process. Default to |
nothing if background==FALSE
, the (callr::process) object if background==TRUE
Beware that using background=TRUE
can bloat your system with multiple R session!
You should probably kill the process when you are done:
p=import_review(background=TRUE) p$kill()
inspired by testthat::snapshot_review()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.