Skip to content

MeRGE demonstration for IU CTSI workshop in Indianapolis, IN, Feb 2023

License

Notifications You must be signed in to change notification settings

metrumresearchgroup/iu-ctsi-2023-merge

Repository files navigation

iu-ctsi-2023-merge

MeRGE demonstration for IU CTSI workshop in Indianapolis, IN, Feb 2023.

This workshop focused on the packages that are showcased in the MeRGE Expo 1 website and the code in this repo is a simplified version of code maintained in the MeRGE Expo 1 GitHub Repo.

Directory listing

   /model = the NONMEM-formatted model files (.ctl)

   /script = the scripts that were demonstrated during the workshop
   
   /data = a simulated data file to use as example "observed" data
   
   /presentation = a pdf file with the hands-on slides for the workshop

Installing packages with renv::restore()

Packages have been specified in the renv.lock file and should be accessible by first running in your RStudio Console window:


install.packages("renv")
library(renv)
renv::restore()  

Users should respond "Yes" when asked to activate the project after calling renv::restore(). The packages will then begin installing. (This may take awhile.)

For further information on using renv, please see: https://rstudio.github.io/renv/articles/renv.html#reproducibility

Installing packages with pkgr

This repository also includes a pkgr.yml file with all relevant packages. If you have pkgr installed, you can follow the steps below to install your packages. This will go faster than the renv::restore() method, because pkgr uses multi-threading and caching. (If you are on Metworx, you will have pkgr installed.)

In your R console


install.packages("renv")
renv::init(bare = TRUE)  

In your terminal

# cd to this repo directory
pkgr install

Once pkgr finishes installing, restart your R session.

About

MeRGE demonstration for IU CTSI workshop in Indianapolis, IN, Feb 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages