clojisr icon indicating copy to clipboard operation
clojisr copied to clipboard

Add p_load as part of the usual workflow

Open daslu opened this issue 5 years ago • 3 comments

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?

daslu avatar Jan 29 '20 14:01 daslu

(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.

behrica avatar Jun 27 '20 20:06 behrica

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 avatar Jun 27 '20 20:06 genmeblog

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 avatar Jul 08 '20 22:07 genmeblog