unxz()
decompresses a xz file into a new file.
Value
This function is ran for its side effect of creating a new file and
returns its path, i.e. to
.
Examples
newfile <- file.path(tempdir(), "ae.json")
unxz(from = example_path("ae"), to = newfile)
#> $`/home/runner/work/_temp/Library/dataset.json.examples/examples/sdtm/ae.json.xz`
#> [1] "/tmp/Rtmp8F1jPW/ae.json"
#>