year <- format(Sys.time(), "%Y")
note <- sprintf("R package version %s", meta$Version)

bibentry(bibtype = "Manual",
         title = "{nlmixr}: Nonlinear Mixed Effects Models in Population Pharmacokinetics and Pharmacodynamics",
         author = c(person("Matthew","Fidler",
                           role = "aut", email = "matthew.fidler@gmail.com",
                           comment=c(ORCID="0000-0001-8538-6691")),
                    person("Yuan", "Xiong",
                           role = "aut", email = "yuan.xiong@gmail.com"),
                    person("Rik", "Schoemaker",
                           role = "aut", email = "rik.schoemaker@occams.com",
                           comment=c(ORCID="0000-0002-7538-3005")),
                    person("Justin", "Wilkins",
                           role = "aut", email = "justin.wilkins@occams.com",
                           comment=c(ORCID="0000-0002-7099-9396")),
                    person("Mirjam","Trame",
                           role = "aut", email = "mirjam.trame@gmail.com"),
                    person("Richard", "Hooijmaijers", email = "richardhooijmaijers@gmail.com",
                           role = "aut"),
                    person("Teun","Post",
                           role = "aut", email = "t.post@lapp.nl"),
                    person("Wenping", "Wang",
                           role = c("aut", "cre"), email = "wwang8198@gmail.com")
                    ),
         year = year,
         note = note,
         url = "https://CRAN.R-project.org/package=nlmixr")


bibentry(bibtype="Article",
         title="Nonlinear Mixed-Effects Model Development and Simulation Using nlmixr and Related R Open-Source Packages",
         author = c(person("Matthew","Fidler",
                           role = "aut", email = "matthew.fidler@gmail.com",
                           comment=c(ORCID="0000-0001-8538-6691")),
                    person("Justin", "Wilkins",
                           role = "aut", email = "justin.wilkins@occams.com",
                           comment=c(ORCID="0000-0002-7099-9396")),
                    person("Richard", "Hooijmaijers", email = "richardhooijmaijers@gmail.com",
                           role = "aut"),
                    person("Teun","Post",
                           role = "aut", email = "t.post@lapp.nl"),
                    person("Rik", "Schoemaker",
                           role = "aut", email = "rik.schoemaker@occams.com",
                           comment=c(ORCID="0000-0002-7538-3005")),
                    person("Mirjam","Trame",
                           role = "aut", email = "mirjam.trame@gmail.com"),
                    person("Yuan", "Xiong",
                           role = "aut", email = "yuan.xiong@gmail.com"),
                    person("Wenping", "Wang",
                           role = c("aut", "cre"), email = "wwang8198@gmail.com")),
         journal = "CPT: Pharmacometrics \\& Systems Pharmacology",
         year = "2019",
         volume = "8",
         pages = "621--633",
         number = "9",
         month = "sep",
         abstract = "nlmixr is a free and open-source R package for fitting nonlinear pharmacokinetic (PK), pharmacodynamic (PD), joint PK-PD, and quantitative systems pharmacology mixed-effects models. Currently, nlmixr is capable of fitting both traditional compartmental PK models as well as more complex models implemented using ordinary differential equations. We believe that, over time, it will become a capable, credible alternative to commercial software tools, such as NONMEM, Monolix, and Phoenix NLME.",
         address ="Hoboken",
         publisher = "John Wiley and Sons Inc.",
         url = "https://doi.org/10.1002/psp4.12445")

bibentry(bibtype="Article",
         title="Performance of the SAEM and FOCEI Algorithms in the Open-Source, Nonlinear Mixed Effect Modeling Tool nlmixr",
         author = c(person("Rik", "Schoemaker",
                           role = "aut", email = "rik.schoemaker@occams.com",
                           comment=c(ORCID="0000-0002-7538-3005")),
                    person("Matthew","Fidler",
                           role = "aut", email = "matthew.fidler@gmail.com",
                           comment=c(ORCID="0000-0001-8538-6691")),
                    person("Christian", "Laveille", role="aut"),
                    person("Justin", "Wilkins",
                           role = "aut", email = "justin.wilkins@occams.com",
                           comment=c(ORCID="0000-0002-7099-9396")),
                    person("Richard", "Hooijmaijers", email = "richardhooijmaijers@gmail.com",
                           role = "aut"),
                    person("Teun","Post",
                           role = "aut", email = "t.post@lapp.nl"),
                    person("Mirjam","Trame",
                           role = "aut", email = "mirjam.trame@gmail.com"),
                    person("Yuan", "Xiong",
                           role = "aut", email = "yuan.xiong@gmail.com"),
                    person("Wenping", "Wang",
                           role = c("aut", "cre"), email = "wwang8198@gmail.com")),

         journal = "CPT: Pharmacometrics \\& Systems Pharmacology",
         year = "2019",
         volume = "8",
         pages = "923--930",
         number = "12",
         month = "dec",
         abstract="The free and open-source package nlmixr implements pharmacometric nonlinear mixed effects model parameter estimation in R. It provides a uniform language to define pharmacometric models using ordinary differential equations. Performances of the stochastic approximation expectation-maximization (SAEM) and first order-conditional estimation with interaction (FOCEI) algorithms in nlmixr were compared with those found in the industry standards, Monolix and NONMEM, using the following two scenarios: a simple model fit to 500 sparsely sampled data sets and a range of more complex compartmental models with linear and nonlinear clearance fit to data sets with rich sampling. Estimation results obtained from nlmixr for FOCEI and SAEM matched the corresponding output from NONMEM/FOCEI and Monolix/SAEM closely both in terms of parameter estimates and associated standard errors. These results indicate that nlmixr may provide a viable alternative to existing tools for pharmacometric parameter estimation.",
         url="https://doi.org/10.1002/psp4.12471"
         )
