nm_unzip: Unzip a NONMEM File

View source: R/nm_unzip.r

nm_unzipR Documentation

Unzip a NONMEM File

Description

Unzips a NONMEM file, by default the xml output of a NONMEM run. Uses 7z decompression.

Usage

nm_unzip(
  run,
  extension = ".xml",
  filename = paste0(run, fxs(extension, ".   ")),
  path = file.path(normalizePath(getOption("nmDir", getwd())), run),
  tmpdir = tempdir(),
  temp = FALSE,
  outdir = ifelse(temp, tmpdir, path),
  zip.filename = file.path(path, filename),
  zip.call = getOption("unzip.call"),
  quiet = TRUE,
  ...
)

Arguments

run

character (run name)

extension

character: extension to append to run

filename

character: supersedes run, extension

path

path to directory enclosing the NONMEM run directory

outdir

character: one of path or tempdir

zip.call

character: system unzip invocation

tempdir

character: path to temporary working directory if temp is true

temp:

whether to unzip to a temporary directory

zip.filename:

character: path and source filename, supersedes extension, filename, and path


qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.