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

rxode2 compiled with rxode2parse with a different solving structure #479

Closed
luyckxn opened this issue Mar 20, 2023 · 6 comments
Closed

rxode2 compiled with rxode2parse with a different solving structure #479

luyckxn opened this issue Mar 20, 2023 · 6 comments

Comments

@luyckxn
Copy link

luyckxn commented Mar 20, 2023

There seems to be an issue with the current version of rxode2 available on CRAN.
After the installation from CRAN, when I load the package, I get:

Error: le chargement du package ou de l'espace de noms a échoué pour ‘rxode2’ :
.onLoad a échoué dans loadNamespace() pour 'rxode2', détails :
appel : NULL
erreur : rxode2 compiled with rxode2parse with a different solving structure
can try: install.packages('rxode2', type='source')

Thanks in advance!

@billdenney
Copy link
Contributor

@luyckxn, The versions of nlmixr2 packages (including rxode2 and rxode2parse) require consistent versions across all of the packages. Can you please try re-installing all of the nlmixr2 and rxode2 packages? (My guess is that your version of rxode2parse is old and you're installing a new version of rxode2 or the opposite, rxode2 is old and rxode2parse is new.)

Please try:
install.packages(c("dparser", "rxode2ll", "rxode2parse", "rxode2random", "rxode2et", "rxode2"))

@luyckxn
Copy link
Author

luyckxn commented Mar 20, 2023

No, it is not working (the continuous integration tests for package campsis with GitHub actions were also failing because of this issue).
Only installation from github is working: remotes::install_github(repo="nlmixr2/rxode2") -> OK

@billdenney
Copy link
Contributor

@luyckxn, Ah, we are in the process of doing a broad upgrade on CRAN. I just realized that the CRAN version of rxode2parse is new while the rxode2 version is in the submission process. So, until the full upgrade occurs on CRAN (which often takes about a week, I think), the installation issue will remain true. If you need something during this week, you should be able to install the GitHub versions which work consistently with each other.

@mattfidler
Copy link
Member

Thanks @billdenney

@mattfidler
Copy link
Member

This will likely be fixed whenever CRAN thinks that rxode2 is ready. It also breaks nlmixr2est. I am waiting for a reply from them after emailing and saying this was good to release on CRAN and all the reverse dependencies that are affected are mine and I will fix them.

I tried to run your testing suite before I submitted and it seemed to be OK on my end.

@luyckxn
Copy link
Author

luyckxn commented Mar 20, 2023

I see. Thanks a lot for your help!

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

3 participants