Recent Releases of nmproject
nmproject - NMproject 0.6.10
- Fixed compatibility bug in glue version
1.8.0
- R
Published by tarjsahota0 over 1 year ago
nmproject - v0.6.7
Added ability to use NMproject-specific code completion snippets
setup_code_completion(). Typingnew_nmwill set up parent object,childwill set up child object.fixed bug in Windows where R markdown templates weren't being produced.
fixed minor windows bug where addins were executing models.
run_nm()checks for psn installation in first use of R sessionclean_tempfiles()replacesclean_run()
- R
Published by tsahota almost 5 years ago
nmproject - v0.6.4
Revamped the manual edit interface. This is backwards incompatible. merge conflicts will now be flagged.
Resolve manual edit 'addin' for handling merge conflicts in manual edits (#17)
view_patch()prints to console instead of opening windowBetter instructions on RStudio Addin usage.
Fixed bug were
nm_create_analysis_projectwould fail in windows if using the home directory due to a mismatch between how '~' is interpreted by R andusethis.Fixed bug in failing CRAN checks in macOS systems.
- R
Published by tsahota almost 5 years ago
nmproject - v0.6.3
The first post CRAN release
Main changes
Revamped the NMproject project creation template and
nm_create_analysis_project()for greater customisability ability and removed dependence onoptions()which was causing strange behaviour.Expanded analysis README template for new NMprojects to run analysis level tests on build. Useful for compliance checking.
Added
nm_pre_commit_hook()andnm_pre_commit_hook()for custom NMproject analysis projectsExpanded model diagnostic rmarkdown template to include more 'xpose' plots.
Included an experimental
%f>%pipe for applying functions elementwise to vector valued nm objects.Included
is_nmproject_dir(), intended for package owners of dependent packagesRenamed
nm_default_dir()tonm_dir()Removed
nm.cmd_defaultoption in favour of the more flexiblenm_default_fields. See?nm_default_fields()for help.decision()usesusethis::ui_yeah()for prompting rather thanreadline().stage()hasfind_replace_dir_namesargument to handle custom NMproject directory structures.
Minor changes
Made
run_idargument mandatory inchild().Added example code for first object creation in code library dialog boxes when a model file is imported
new_nm()will now fail if user tries to use a run based on one in the Models. This is for safety as the Models directry should only contain NMproject generated code.The code library will not display
.RrojorREADMEfiles.
Deprecated functions
preview()is now deprecated and removed in favour of the code library 'Addin'nm_default_diris now deprecated
- R
Published by tsahota almost 5 years ago
nmproject - v0.6.2
This is the first CRAN release of NMproject. Here are the major changes here relative to 0.5.1:
Removal and deprecation of tidyproject as an NMproject dependency.
Project libraries are now handled with
renv.Analysis project creation has been moved from tidyproject to NMproject with light wrappers around
usethisproject creation functionality and RStudio project templates. Analysis projects have a package-like structure.Expanded demo based on a theophylline pharmacometric analysis and new vignette based around same demo.
The code library has been moved to NMproject. New shiny interface to code library available via RStudio 'Addins'. The code library has been restructured to match NMproject analysis directory structure.
new_nm()function to create parentnm_listobjects. This is mostly for creation of your first model. Subsequent models are generated with thechild()function.New manual edit interface via RStudio 'Addins'. NMproject is now the only NONMEM interface (known to the author) that tracks manual edits to NONMEM code in the form of reusable patches.
Fully vectorised functions and compatibility of
nm_listobjects withdplyr.Custom NMproject implementations of PsN's bootstrap, cross-validation, stepwise covariate selection, simulation-re-estimation, and PPCs have been added.
"overwrite behaviour" RStudio 'Addin' has been created to allow different behaviours when modifying and rerunning a previously executed run. The default is to ask for confirmation.
- R
Published by tsahota almost 5 years ago