Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error message in BootstrapFit #624

Open
Chickenlover0908 opened this issue Oct 9, 2022 · 2 comments
Open

error message in BootstrapFit #624

Chickenlover0908 opened this issue Oct 9, 2022 · 2 comments

Comments

@Chickenlover0908
Copy link

hello, nlmixr team.
The “bootstrapFit” can not run, even i run the example which in function help page. The error messages are:

Error in "cli::cli_h1("Running nlmixr for model index: {.env$mod_idx}")": ! Invalid cli literal: {.env$mod_…} starts with a dot.
i. Interpreted literals must not start with a dot in cli >= 3.4.0.
i. {} expressions starting with a dot are now only used for cli styles.
i. To avoid this error, put a space character after the starting { or use parentheses: {(.env$mod_…)}.

I don’t know how to solve this error, waiting for your help😭.
PS: my article is about population PK model on chicks, in which the model was established with “nlmixr”. If i publish this paper, what should I cite? And @mattfidler has helped me a lot, he solved my every question about this package, can I thank him in the acknowledge section of the paper?
Thank you very much!

@mattfidler
Copy link
Contributor

Hi @Chickenlover0908

This is because of an incompatibility with cli 3.4. This is fixed in the development version of nlmixr2extra (which I am working to put on CRAN), but not here. I will continue to develop nlmixr2 in favor of nlmixr

In the mean-time, the quickest work-around is to downgrade cli 3.4 by:

devtools::install_version("cli", version = "3.3.0", repos = "http://cran.us.r-project.org")

As far as publications are concerned, we typically keep our publications for citation in the R package:

citation("nlmixr")

To cite packagenlmixrin publications use:

  Fidler M, Xiong Y, Schoemaker R, Wilkins J, Trame M, Hooijmaijers R,
  Post T, Wang W (2022). _nlmixr: Nonlinear Mixed Effects Models in
  Population Pharmacokinetics and Pharmacodynamics_. R package version
  2.0.7, <https://CRAN.R-project.org/package=nlmixr>.

  Fidler M, Wilkins J, Hooijmaijers R, Post T, Schoemaker R, Trame M,
  Xiong Y, Wang W (2019).Nonlinear Mixed-Effects Model Development
  and Simulation Using nlmixr and Related R Open-Source Packages._CPT: Pharmacometrics \& Systems Pharmacology_, *8*(9), 621-633.
  <https://doi.org/10.1002/psp4.12445>.

  Schoemaker R, Fidler M, Laveille C, Wilkins J, Hooijmaijers R, Post
  T, Trame M, Xiong Y, Wang W (2019).Performance of the SAEM and
  FOCEI Algorithms in the Open-Source, Nonlinear Mixed Effect Modeling
  Tool nlmixr._CPT: Pharmacometrics \& Systems Pharmacology_,
  *8*(12), 923-930. <https://doi.org/10.1002/psp4.12471>.

There is one more publication about nlmixr from the team that could be used:

https://ascpt.onlinelibrary.wiley.com/doi/full/10.1002/psp4.12618

You can thank me in the paper if you wish, I usually have my name Matthew Fidler in publications.

@Chickenlover0908
Copy link
Author

Hi @Chickenlover0908

This is because of an incompatibility with cli 3.4. This is fixed in the development version of nlmixr2extra (which I am working to put on CRAN), but not here. I will continue to develop nlmixr2 in favor of nlmixr

In the mean-time, the quickest work-around is to downgrade cli 3.4 by:

devtools::install_version("cli", version = "3.3.0", repos = "http://cran.us.r-project.org")

As far as publications are concerned, we typically keep our publications for citation in the R package:

citation("nlmixr")

To cite packagenlmixrin publications use:

  Fidler M, Xiong Y, Schoemaker R, Wilkins J, Trame M, Hooijmaijers R,
  Post T, Wang W (2022). _nlmixr: Nonlinear Mixed Effects Models in
  Population Pharmacokinetics and Pharmacodynamics_. R package version
  2.0.7, <https://CRAN.R-project.org/package=nlmixr>.

  Fidler M, Wilkins J, Hooijmaijers R, Post T, Schoemaker R, Trame M,
  Xiong Y, Wang W (2019).Nonlinear Mixed-Effects Model Development
  and Simulation Using nlmixr and Related R Open-Source Packages._CPT: Pharmacometrics \& Systems Pharmacology_, *8*(9), 621-633.
  <https://doi.org/10.1002/psp4.12445>.

  Schoemaker R, Fidler M, Laveille C, Wilkins J, Hooijmaijers R, Post
  T, Trame M, Xiong Y, Wang W (2019).Performance of the SAEM and
  FOCEI Algorithms in the Open-Source, Nonlinear Mixed Effect Modeling
  Tool nlmixr._CPT: Pharmacometrics \& Systems Pharmacology_,
  *8*(12), 923-930. <https://doi.org/10.1002/psp4.12471>.

There is one more publication about nlmixr from the team that could be used:

https://ascpt.onlinelibrary.wiley.com/doi/full/10.1002/psp4.12618

You can thank me in the paper if you wish, I usually have my name Matthew Fidler in publications.

Thank you for your reply !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants