Skip to content

Releases: metrumresearchgroup/mrgsolve

mrgsolve 1.4.1

12 Feb 17:59
3e42db2
Compare
Choose a tag to compare
  • Fix bug in evt::regimen.ii(double) where timing of next dose
    was not as expected (#1170).

mrgsolve 1.4.0

07 Feb 21:19
f805fcc
Compare
Choose a tag to compare

mrgsolve 1.4.0

  • evtools is a new plugin providing API for dynamic dosing from within the
    model; functions and classes are in the evt namespace (#1149).

  • regimen is a new class located in the evt namespace via the evtools
    plugin; regimen objects can execute doses in a regular regimen (#1156).

  • mread() and mcode() 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 from data or idata via etasrc argument to mrgsim(); this
    ensures EPS are reproducible for model runs where etasrc = "omega"
    (default, ETA are simulated) or, for example, where etaasrc = "data.all"
    (scrape ETA from the data set) (#1163).

Bugs Fixed

  • Fixed a bug where modeled doses scheduled to happen now were ignored if the
    time attribute was set to a value prior to the current simulation time
    (#1152).

  • Fixed a bug in how doses were computed using the until argument to ev()
    (#1154).

mrgsolve 1.3.0

04 Dec 14:41
46193aa
Compare
Choose a tag to compare
  • The evdata object for modeled events now contains a check_unique member;
    when set to false, the event will be processed without checking for a
    matching record in the modeled event log (#1119).

  • The amt attribute in evdata 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

19 Sep 14:18
3624f2f
Compare
Choose a tag to compare
  • 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 for EPS (#1110).

mrgsolve 1.1.1

16 Aug 16:20
c125cdb
Compare
Choose a tag to compare
  • Remove .x from matlist documentation object per new NOTE output from
    rdevel (#1103, #1104).

mrgsolve 1.1.0

17 Aug 01:11
c813529
Compare
Choose a tag to compare
  • 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 when check_data_names() is
      called.
    • New $PARAM block attributes @input and @tag for adding tags to
      parameters which will be checked when check_data_names() is called.
    • New function param_tags() to list parameters and tags for a given model.
  • Now checking TIME and time when assessing upper / lower case name
    consistency of input data sets (#1099).

  • ETAs can now be passed via idata by passing eta_src as either idata
    or idata.all to mrgsim() (#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 to param() (#1076).

  • ev_rx() syntax gains & operator allowing specification of multiple events
    at a single time (#1072).

  • Kyle Meyer added as contributor (#1095).

  • modlib() model 1005 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
    using eta_src = "data" or eta_src = "data.all" (#1095).

mrgsolve 1.0.9

10 Mar 14:55
92e64a3
Compare
Choose a tag to compare
  • Fix signatures for compiled.mrgmod() and as_tibble.mrgsims() based on new
    R-devel check findings (#1065).

mrgsolve 1.0.8

03 Mar 22:31
6d75ffa
Compare
Choose a tag to compare
  • SIGMA() is a new model macro which allows users to access on-diagonal
    elements of SIGMA in the model (e.g. SIGMA(2) in $ERROR) (#1051, #1052).

  • mrgsim() and mrgsim_q() gain an etasrc argument, allowing ETAs to
    be either simulated from OMEGA (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 model ETAs 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 version 1.0.7
    (#1046, #1048).

  • Fix bug in mread_cache() where the project directory wasn't getting
    rendered properly when passing the complete path to the model specification
    file (#1056).

mrgsolve 1.0.7

24 Jan 14:53
5da903a
Compare
Choose a tag to compare
  • $NMXML and $NMEXT now accept the run 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

24 Aug 15:53
7db33bc
Compare
Choose a tag to compare

Bugs Fixed

  • Fix bug in TOUCH_FUNS where parameter and compartment lists were not
    getting generated properly when mrgsolve was not loaded; bug was
    detected and fixed prior to upload to CRAN or MPN (#1013).