Error in dynLoad and rxCompile

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.

Created on 2018-07-06 by the reprex
package
(v0.2.0).

I get a similar error.

I don't think model accepts an empty string.
RxODE appears to be some good package-vignettes to get started.

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.

library(RxODE)
ode <- "
   C2 = centr/V2;
C3 = peri/V3;
d/dt(depot) =-KA*depot;
d/dt(centr) = KA*depot - CL*C2 - Q*C2 + Q*C3;
d/dt(peri)  =                    Q*C2 - Q*C3;
d/dt(eff)  = Kin - Kout*(1-C2/(EC50+C2))*eff;
"

m1 <- RxODE(model = ode)
#> Error in dynLoad(.cDllFile) : 
#>   Evaluation error: unable to load shared object '/var/folders/b2/r9650g5n4gxf4jg03vh4lfy80000gn/T//RtmpPKtusE/rx_d5b1308db9def0736dc9e914735853cc_.so':
#> dlopen(/var/folders/b2/r9650g5n4gxf4jg03vh4lfy80000gn/T//RtmpPKtusE/rx_d5b1308db9def0736dc9e914735853cc_.so, 10): image not found.
#> Error in rxCompile.character(model, extraC = extraC, debug = debug, calcJac = calcJac, : 
#>   Error loading model.

Created on 2018-07-10 by the reprex
package
(v0.2.0).

Interesting, I get the output below.
Perhaps restart your R session (Session >> Restart R)?

library(RxODE)
ode <- "
C2 = centr/V2;
C3 = peri/V3;
d/dt(depot) =-KA*depot;
d/dt(centr) = KA*depot - CL*C2 - Q*C2 + Q*C3;
d/dt(peri)  =                    Q*C2 - Q*C3;
d/dt(eff)  = Kin - Kout*(1-C2/(EC50+C2))*eff;
"
m1 <- RxODE(model = ode)
print(m1)
#> RxODE 0.7.2-5 model named rx_d5b1308db9def0736dc9e914735853cc model (✔ ready).
#> $state: depot, centr, peri, eff
#> $params: V2, V3, KA, CL, Q, Kin, Kout, EC50
#> $lhs: C2, C3

Created on 2018-07-10 by the reprex package (v0.2.0.9000).

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?