kiwiroy / RLinuxModules

R package that makes linux environment modules available from R
Other
1 stars 1 forks source link

Increase compatibility #4

Open kiwiroy opened 3 years ago

kiwiroy commented 3 years ago

Add code (possibly back in) to ensure compatibility with version 3.2.10 of Tcl/C modules and also Lmod.

There is a branch already started.

eburgueno commented 3 years ago

Possibly the same thing, but I though I'd mention that Shiny uses R/3.4.3 and is currently broken. At the moment RLinuxModules v0.4 does not work as expected on that version. I also tested on R/3.4.4 with similar results:

$ R
R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"
(...)
Error in system2(moduleCmd, args = c("r", trimws(Arguments, which = "both")),  : 
  unused argument (timeout = 10)
Error in system2(moduleCmd, args = c("r", trimws(Arguments, which = "both")),  : 
  unused argument (timeout = 10)
> packageVersion("RLinuxModules")
[1] '0.4'
kiwiroy commented 3 years ago

R 3.4.3 version of system2 did not understand timeout. Here's the commit 4years ago. Checking the OS compatibility is required.