
run the isoextract executable on a vector of file paths this is usually not called directly
Source:R/extract.R
ir_extract_isofiles.Rdrun the isoextract executable on a vector of file paths this is usually not called directly
Usage
ir_extract_isofiles(
file_paths,
pretty_json = FALSE,
dry_run = FALSE,
show_progress = is_interactive(),
show_problems = TRUE
)
ir_get_isoextract_version()Arguments
- file_paths
paths to the isodat file(s), single value or vector of paths. Use
ir_find_isofiles()to get files in a folder.- pretty_json
whether to write the JSON output in human-readable pretty-printed format (default:
FALSE). Useful for debugging; has no effect on the data read back byir_read_isofiles(). Note that pretty-printed files are larger than compact ones.- dry_run
whether to run isoextract in "dry run" mode (default:
FALSE). In dry run mode the files are parsed to test whether they can be read (a file-compatibility check) but no.jsonsidecar output is written. Combine withshow_problems = TRUEto see which files (if any) cannot be extracted. Note that withdry_run = TRUE, the progress bar does not work as it depends on the JSON output files.- show_progress
whether to show a progress bar, by default always enabled when running interactively e.g. inside Positron or RStudio (and disabled in a notebook), turn off with
show_progress = FALSE- show_problems
whether to show problems encountered along the way (rather than just keeping track of them with
ir_get_problems()). Set toshow_problems = FALSEto turn off the live printout. Either way, all encountered problems can be retrieved with runningir_get_problems()for the returned list
Value
called for its side effect of running isoextract to write a .json
sidecar file next to each input file (unless dry_run = TRUE); returns
NULL invisibly
Functions
ir_get_isoextract_version(): return the version of the installedisoextractexecutable as a numeric_version, orNULLif it is not installed (or does not report a recognizable version)