scicloj / clojisr

Clojure speaks statistics - a bridge between Clojure to R
https://scicloj.github.io/clojisr/
Eclipse Public License 2.0
153 stars 10 forks source link

Add p_load as part of the usual workflow #9

Closed daslu closed 7 months ago

daslu commented 4 years ago

p_load can install missing packages if they are missing.

Following a suggestion of Nick Stares, we may wish to make it an almost-transparent behaviour in our interop story.

Should it be part of the require-r default behaviour?

behrica commented 4 years ago

(automated) dependency management in R is very tricky, as packages might have native operating system library dependencies.

All R package management solutions just as pacman, renv, packrat, devtools, can at the end not solve this, as it is not solvable from inside R.

The only solution for this is Docker.

In my view, we could / should promote the usage of docker for clojisr, and handle R dependencies in Docker.

genmeblog commented 4 years ago

I agree with the part that we can't solve various system deps for certain packages so I would leave it to the user.

Docker is the solution as well (however as a Windows 10 Home user it's still not available for me, unless 2004 update will come)

genmeblog commented 4 years ago

I would close it. Package management should be external to the library (user still can call (r.base/install-packages [...]) from clojisr. The other solution is Docker as @behrica mentioned (and prepared a solution for that).

To be closed imho.

genmeblog commented 7 months ago

Can we close it?

behrica commented 7 months ago

Yes

genmeblog @.***> schrieb am So., 14. Apr. 2024, 20:56:

Can we close it?

— Reply to this email directly, view it on GitHub https://github.com/scicloj/clojisr/issues/9#issuecomment-2054154101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7DAO7EMPGMIRS4BNLYSLY5LGMVAVCNFSM4KNFN2L2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBVGQYTKNBRGAYQ . You are receiving this because you were mentioned.Message ID: @.***>

genmeblog commented 7 months ago

Ok! Closed.