Releases: metrumresearchgroup/mrgsolve
mrgsolve 1.4.1
mrgsolve 1.4.0
mrgsolve 1.4.0
-
evtools
is a new plugin providing API for dynamic dosing from within the
model; functions and classes are in theevt
namespace (#1149). -
regimen
is a new class located in theevt
namespace via theevtools
plugin;regimen
objects can execute doses in a regular regimen (#1156). -
mread()
andmcode()
no longer print a message before the required
waiting period on model recompile (#1145). -
ev_rep()
output rownames are cleaned up before returning (#1158). -
C++ model code blocks (GLOBAL, PREAMBLE, MAIN/PK, ODE/DES, TABLE/ERROR) are
now checked for<object>.<attribute>
syntax; if found, symbols on both sides
of the dot become reserved words when loading and compiling that model;
specifically, an error will be generated if either side of the dot (<object>
or<attribute>
) is found in parameter names, compartment names, ETA labels,
or EPS labels (#1159). -
ETA values are always simulated from OMEGA, even when the user requests they
get scraped fromdata
oridata
viaetasrc
argument tomrgsim()
; this
ensuresEPS
are reproducible for model runs whereetasrc = "omega"
(default, ETA are simulated) or, for example, whereetaasrc = "data.all"
(scrape ETA from the data set) (#1163).
Bugs Fixed
mrgsolve 1.3.0
-
The
evdata
object for modeled events now contains acheck_unique
member;
when set tofalse
, the event will be processed without checking for a
matching record in the modeled event log (#1119). -
The
amt
attribute inevdata
modeled event objects is now considered
when looking for duplicate records in the modeled event log (#1119).
Bugs Fixed
-
Fixed a bug where multiple lagged doses given at the same time but with
different bioavailability were all given the bioavailability of the
last dosing record (#1129, #1130). -
Fixed a bug where modeled infusions given
now
were never turned
off (#1131). -
Fixed a bug where the
self
object (type:databox
) could not be
passed into functions written into header files that were included
through$INCLUDE
; these header files are now included immediately
preceding any user code written into$GLOBAL
(#1125, #1126). -
Fixed a bug where modeled event log was not getting reset after
simulating the first individual; this resulted in events not getting
executed in subsequent individuals when matching events were executed
in the first individual; this affects modeled events only, not events
coming from the data set (#1117, #1118). -
Fixed a bug in detecting which compartments are receiving doses
(#1112, #1113).
mrgsolve 1.2.0
- Data set records at the same time within individual will receive different
EPS
draws; this is a change from previous behavior where records with the
same time received the same value forEPS
(#1110).
mrgsolve 1.1.1
mrgsolve 1.1.0
-
Add new functionality for assessing consistency between names on input data
set and parameter names (#1078).- New function
check_data_names()
executes the check. - New model specification block
$INPUT
for marking parameters as "inputs"
and expecting them to be present in the data whencheck_data_names()
is
called. - New
$PARAM
block attributes@input
and@tag
for adding tags to
parameters which will be checked whencheck_data_names()
is called. - New function
param_tags()
to list parameters and tags for a given model.
- New function
-
Now checking
TIME
andtime
when assessing upper / lower case name
consistency of input data sets (#1099). -
ETAs can now be passed via
idata
by passingeta_src
as eitheridata
oridata.all
tomrgsim()
(#1092). -
Internal refactor of mechanics checking for user interrupt during simulation
(#1088). -
Minor re-factor of
mrgsim_nid()
and documentation update to be in line
with original intent; no meaningful change in functionality (#1086). -
parameter_list
objects can now be passed toparam()
(#1076). -
ev_rx()
syntax gains&
operator allowing specification of multiple events
at a single time (#1072). -
Kyle Meyer added as contributor (#1095).
-
modlib()
model1005
re-coded to reflect the "traditional" model
specification syntax (#1069). -
The model object
update()
method will again issue a warning when
unrecognized arguments are passed (#1068).
Bugs Fixed
- Fixed bug where ETA in the first column of
data
was not recognized when
usingeta_src = "data"
oreta_src = "data.all"
(#1095).
mrgsolve 1.0.9
- Fix signatures for
compiled.mrgmod()
andas_tibble.mrgsims()
based on new
R-devel check findings (#1065).
mrgsolve 1.0.8
-
SIGMA()
is a new model macro which allows users to access on-diagonal
elements ofSIGMA
in the model (e.g.SIGMA(2)
in$ERROR
) (#1051, #1052). -
mrgsim()
andmrgsim_q()
gain anetasrc
argument, allowingETAs
to
be either simulated fromOMEGA
(new default and previously the only
behavior) or taken from the input data set (new option), similar to the way
parameters can be scraped from the data set (#1037). -
@etas
is a new option for use with the$CAPTURE
block to let users name
ETAs
to be captured into the simulated output; for example, use
@etas 1:last
to capture all modelETAs
in the simulated output (#1055). -
Drop
CXX_STD
statement from Makevars file and DESCRIPTION to be consistent
with current changes in R-devel; mrgsolve continues to require compiler
capable of implementing C++11 standard, but this should be selected
automatically by R (#1060). -
mrgsolve now depends on
R >= 3.6.2
(#1060).
Bugs Fixed
-
Fix bug when the
path
argument is used in the$NMXML
or$NMEXT
blocks;
this bug was introduced through the@cppstem
feature in version1.0.7
(#1046, #1048). -
Fix bug in
mread_cache()
where theproject
directory wasn't getting
rendered properly when passing the complete path to the model specification
file (#1056).
mrgsolve 1.0.7
-
$NMXML
and$NMEXT
now accept therun
argument set to"@cppstem"
(i.e
run = "@cppstem"
); in this case, the stem of the NONMEM run will be assumed
to be the same as the stem of the mrgsolve model file (#1025). -
Missing values (
NA
) in input data sets will be replaced with 0 for the
following columns:AMT
,CMT
,EVID
,II
,ADDL
,RATE
,SS
as well as
their lower case counterparts (#1030). -
Refactored include order when building a model; this is an internal update and
not expected to be visible to the user (#1038).
mrgsolve 1.0.6
Bugs Fixed
- Fix bug in
TOUCH_FUNS
where parameter and compartment lists were not
getting generated properly whenmrgsolve
was not loaded; bug was
detected and fixed prior to upload to CRAN or MPN (#1013).