Skip to content

R package to read, parse, and modify NONMEM control records

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

metrumresearchgroup/nmrec

Repository files navigation

nmrec

Build Status

Overview

nmrec is an R package for reading records from a NONMEM control stream, parsing and modifying records of interest, and writing the result.

Its creation was prompted by several features in bbr and bbr.bayes that require modifying a NONMEM control stream. The purpose of nmrec is to free these packages from worrying about many details of parsing. For example, nmrec allows grabbing an estimation record without accounting for the many ways $ESTIMATION could be spelled ($EST, $ESTM, or $esti, to name just a few).

nmrec aims to

  • stick as close to the NONMEM user guide specification as possible (e.g., support nearly all abbreviations and aliases for record names and options) and try to abort loudly when an unsupported case is hit

  • support parsing within record types of interest, adding support for other record types as needed

Installation

nmrec is available on MPN starting with the 2023-09-19 snapshot.

To install the latest development version from GitHub, you can use remotes:

# install.packages("remotes")
remotes::install_github("metrumresearchgroup/nmrec")

Documentation

Documentation, including a "Get Started" vignette, is available at https://metrumresearchgroup.github.io/nmrec.

About

R package to read, parse, and modify NONMEM control records

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •