Using the RxODE package, I'm trying to create a model. I think I have the syntax right (the contents of ode don't matter for the purposes of generating my error) and that I might have a problem somewhere in my dependencies, from some research. I'm pretty new though, and I could easily be wrong.
library(RxODE)
ode <- ""
mod <- RxODE(model = ode)
#> Error in dynLoad(.cDllFile) :
#> Evaluation error: unable to load shared object '/var/folders/b2/r9650g5n4gxf4jg03vh4lfy80000gn/T//RtmpmNDpHr/rx_c3bde93c141a583575e31c462a54860f_.so':
#> dlopen(/var/folders/b2/r9650g5n4gxf4jg03vh4lfy80000gn/T//RtmpmNDpHr/rx_c3bde93c141a583575e31c462a54860f_.so, 10): image not found.
#> Error in rxCompile.character(model, extraC = extraC, debug = debug, calcJac = calcJac, :
#> Error loading model.
It gives the same error for the example code provided in demos - which I have confirmed to work in a different partition. I was trying to get down to a minimal reprex, but didn't notice that the same error message was from different causes.
Restarting didn't help in this case. I should say that I'm having this problem on a Mac, while I don't have a problem running it on Windows. What would be best practices for uprooting the whole thing and reinstalling it?
Edit: removing all packages, uninstalling RStudio and R, and reinstalling didn't work. The same files were loaded up after reinstalling as were there when I uninstalled, though. Remove all related files in the Library?