{"action":"published","release":{"url":"https://api.github.com/repos/metrumresearchgroup/mrgsolve/releases/3168992","assets_url":"https://api.github.com/repos/metrumresearchgroup/mrgsolve/releases/3168992/assets","upload_url":"https://uploads.github.com/repos/metrumresearchgroup/mrgsolve/releases/3168992/assets{?name,label}","html_url":"https://github.com/metrumresearchgroup/mrgsolve/releases/tag/v0.6.0","id":3168992,"tag_name":"v0.6.0","target_commitish":"master","name":"mrgsolve 0.6.0","draft":false,"author":{"login":"kylebmetrum","id":16908301,"avatar_url":"https://avatars.githubusercontent.com/u/16908301?v=3","gravatar_id":"","url":"https://api.github.com/users/kylebmetrum","html_url":"https://github.com/kylebmetrum","followers_url":"https://api.github.com/users/kylebmetrum/followers","following_url":"https://api.github.com/users/kylebmetrum/following{/other_user}","gists_url":"https://api.github.com/users/kylebmetrum/gists{/gist_id}","starred_url":"https://api.github.com/users/kylebmetrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylebmetrum/subscriptions","organizations_url":"https://api.github.com/users/kylebmetrum/orgs","repos_url":"https://api.github.com/users/kylebmetrum/repos","events_url":"https://api.github.com/users/kylebmetrum/events{/privacy}","received_events_url":"https://api.github.com/users/kylebmetrum/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-05-05T23:37:07Z","published_at":"2016-05-05T23:38:20Z","assets":[{"url":"https://api.github.com/repos/metrumresearchgroup/mrgsolve/releases/assets/1646337","id":1646337,"name":"mrgsolve_0.6.0.tar.gz","label":null,"uploader":{"login":"kylebmetrum","id":16908301,"avatar_url":"https://avatars.githubusercontent.com/u/16908301?v=3","gravatar_id":"","url":"https://api.github.com/users/kylebmetrum","html_url":"https://github.com/kylebmetrum","followers_url":"https://api.github.com/users/kylebmetrum/followers","following_url":"https://api.github.com/users/kylebmetrum/following{/other_user}","gists_url":"https://api.github.com/users/kylebmetrum/gists{/gist_id}","starred_url":"https://api.github.com/users/kylebmetrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylebmetrum/subscriptions","organizations_url":"https://api.github.com/users/kylebmetrum/orgs","repos_url":"https://api.github.com/users/kylebmetrum/repos","events_url":"https://api.github.com/users/kylebmetrum/events{/privacy}","received_events_url":"https://api.github.com/users/kylebmetrum/received_events","type":"User","site_admin":false},"content_type":"application/x-gzip","state":"uploaded","size":327424,"download_count":0,"created_at":"2016-05-05T23:38:11Z","updated_at":"2016-05-05T23:38:14Z","browser_download_url":"https://github.com/metrumresearchgroup/mrgsolve/releases/download/v0.6.0/mrgsolve_0.6.0.tar.gz"}],"tarball_url":"https://api.github.com/repos/metrumresearchgroup/mrgsolve/tarball/v0.6.0","zipball_url":"https://api.github.com/repos/metrumresearchgroup/mrgsolve/zipball/v0.6.0","body":"## Bugs fixed\r\n* Fixed a bug where infusion dosing events with `evid 4` were not properly implemented.  While investigating that issue, also found similar issue with `evid 4` infusions getting scheduled with `addl` ([issue 31](../../issues/31)).\r\n* Removed NSE evaluation for arguments passed into  `ev` to avoid unintended issues in evaluation ([issue 29](../../issues/29)).\r\n\r\n## New features\r\n* Added `mcode` function as alternative to using `mread` when your model is written in an `R` string.  Note the order of the arguments:\r\nfirst `model`, then `code`, then `project`.  `project` defaults to `tempdir`.  So the call is: `mod <- mcode(\"mymodel\", code)`.  The\r\nequivalent `mread` call is: `mod <- mread(\"mymodel\", tempdir(),code)`.\r\n* `carry.out()` and `Req()` now take `newname = oldname` as input.  Use this syntax in `carry.out` when you want to copy a column from the input data set into the simulated data set, changing the column to `newname` from `oldname`.  Use this syntax in `Req` when you want to change the names of compartments or output variables spcified in `$TABLE` / `$CAPTURE`. \r\n* Added `pkmodel` function for easy loading and simulating from 1- and 2-compartment models ([issue 39](../../issues/39)).\r\n* Added new code block: `$PKMODEL` for simulating PK model with analytical solutions.  The main option for this block is `ncmt`, which picks the number of compartments for the pk model.  See `?PKMODEL` for more information and other options ([issue 34](../../issues/34)).\r\n\r\n## Under the hood\r\n* Added `code` attribute to `mrgmod` objects.  The actual source code stays with the model object. `see` was modified to look at `x@code` first when showing the model code.\r\n* Added a tokenizer function (`get_tokens`), a wrapper for the boost tokenizer) to help checking the model specification file.\r\n* Data items entered in `$FIXED` are now implemented as C++ preprocessor directives by default rather than `const double` variables.  Use `$SET fixed_type = \"define\"` or `$SET fixed_type = \"const\"` to select between the approaches.\r\n"}}