nlmixrdevelopment / RxODE

RxODE is an R package that facilitates easy simulations in R
https://nlmixrdevelopment.github.io/RxODE/
GNU General Public License v3.0
54 stars 14 forks source link

RxODE not working for Mac #472

Open devamdes opened 2 years ago

devamdes commented 2 years ago

When I'm trying to load RxODE in Mac it's not working for my model

library(RxODE) Error: package or namespace load failed for ‘RxODE’: .onLoad failed in loadNamespace() for 'RxODE', details: call: NULL error: RxODE compiled with dparser '1.3.1.5' but dparser '1.3.1.4' is loaded Recompile RxODE with the this version of dparser In addition: Warning message: package ‘RxODE’ was built under R version 4.1.1

mattfidler commented 2 years ago

Try installing the latest RxODE. The version number changed and it was compiled against the new dparser.

mattfidler commented 2 years ago

Actually install the latest dparser. I read the message a bit wrong

luyckxn commented 2 years ago

I'm also having issues with RxODE (when testing package campsis) on mac:

Error: processing vignette 'campsis.Rmd' failed with diagnostics: .onLoad failed in loadNamespace() for 'RxODE', details: call: NULL error: RxODE compiled with PreciseSums '0.4' but PreciseSums '0.5' is loaded Recompile RxODE with the this version of PreciseSums

See errors here; https://cran.r-project.org/web/checks/check_results_campsis.html

luyckxn commented 2 years ago

I have the same problem when running the continuous integration of campsis on github with mac OS: https://github.com/Calvagone/campsis/runs/6302858637?check_suite_focus=true

mattfidler commented 2 years ago

This is a known issue. All that needs to be done is @wwang-at-github resubmits to CRAN; RxODE needs to be recompiled; I also dropped the check for this package in the future. I am sure he is busy, and hasn't yet got to this.

I am also submitting rxode2 to CRAN and plan to support that package going forward. It takes nlmixr models and allows simulating from them. Another option is to use that package instead of RxODE. The changes are listed here:

https://github.com/nlmixr2/rxode2/blob/main/NEWS.md#rxode2-206

luyckxn commented 2 years ago

OK I understand. Thanks for providing the list of breaking changes. I will follow that closely.