| NEWS | R Documentation |
News for Package nmw
Version 0.3.1 (2026-06-09)
SumOut()bug fix: the lineRunFolders <- MatchEnd(Folders, RunExt)previously assigned the logical vector returned byMatchEnd()toRunFoldersinstead of using it as a mask to subsetFolders. This causedstrsplit()insideGetModelNames()to fail with "non-character argument" whenever any run folders were present. NowRunFolders <- Folders[MatchEnd(Folders, RunExt)].SumOut()defaultRunExtchanged from".R75"to".R76"to match NONMEM 7.6 (the current production release). Users on NONMEM 7.5 should passRunExt = ".R75"explicitly.SumOut()now warns and returnsinvisible(NULL)when no matching run folders are found, instead of erroring on a zero-length loop.GetProbVal()bug fix:grep(Tag, PROB)returnsinteger(0)when the requested tag (e.g."P:"or"F:") is absent — for example when the$PROBrecord is longer than 80 characters and NM-TRAN truncates it inside theFCONfile, dropping the tag. The previousif (Loc > 0)test raised "argument is of length zero". The test was changed toif (length(Loc) > 0 && Loc[1] > 0), returning an empty string when the tag is absent.man/SumOut.Rdupdated to reflect the new defaultRunExtand a richer description of the return value.MatchEnd()bug fix: replacedfor (i in 1:n)withfor (i in seq_len(n))so that calling on an empty character vector no longer iterates overc(1, 0)and tries to readNAelements.Regression tests added in
tests/testthat/test-utils_data.Rcovering theSumOut()empty-folder,GetProbVal()missing-tag, andMatchEnd()empty-input cases.report_ebe()(S5 “ETA vs Categorical Variables”) bug fix: when the number of ETAs times the number of categorical covariates produced a panel grid too dense for boxplot margins,plot.new()raised “figure margins too large” and the PDF was truncated mid-page. The categorical-covariate panels are now split across multiple PDF pages (cap of ~35 panels per page, configurable through the internalMAX_CELLS_PER_PAGEconstant), with page numbers appended to the panel title when more than one page is produced.
Version 0.3.0 (2026-05-08)
General-purpose helpers for NONMEM dataset construction added (
build_nm_dataset,build_dose_records,build_obs_records).Time-varying covariate merge by LOCF/LOCB:
locf_value,merge_cov_locf.Datetime parsers:
parse_dtc,dat2_time_to_posix.Coding helpers:
code_sex,code_race.Cockcroft-Gault CRCL:
crcl_cg,add_crcl_cg.Mass to molar unit conversion:
nm_to_molar.
Version 0.2.0 (2026-03-08)
Post-run processing of NONMEM output with PDF diagnostic reports merged from nma package.
8 report types: OFV, Parameters, Predictions, Residuals, EBE, Input, Output, IndiPK.
New utility functions for NONMEM data processing and parsing.
Switched from exportPattern to explicit exports in NAMESPACE.
Version 0.1.6 (2026-03-08)
Typos in documentation corrected.
Version 0.1.5 (2023-05-09)
AddCox function for adding a covariate to existing NONMEM dataset.
CombDmExPc function for combining demographics(DM), dosing(EX), and DV(PC) tables.
TrimOut function to beautify the original NONMEM OUTPUT
Errata in manual corrected.
Version 0.1.4 (2018-04-10)
Errata in manual corrected.
Version 0.1.3 (2017-10-23)
TabStep()is added.Speed is increased.
References are updated.
Vignette is updated.
Version 0.1.2 (2017-10-20)
This package will be used at the workshop on 2017-10-25 at Kyoto Japan 1st APC satellite workshop.
Bug at calculating objective function value for "LAPL" method is fixed.
Bug at scaling other than zero lower bound transformation fixed.
Version 0.1.1 (2017-03-14)
This package will be used at the workshop within US FDA on 2017-03-21.
For the initialization step,
Predfunction name should be given by the user. It does not read directly from the file any more.
Version 0.1.0 (2017-02-21)
This package was born and used at the Workshop held by Kyun-Seop Bae MD PhD <k@acr.kr>.
InitStepusedPredfunction within a file.