REditorSupport / languageserver

An implementation of the Language Server Protocol for R
Other
564 stars 91 forks source link

Support for old R version #624

Open qqlearn123 opened 1 year ago

qqlearn123 commented 1 year ago

Is it possible to install launageserver on older R versions than 3.4.0, e.g., 3.1.x?

renkun-ken commented 1 year ago

languageserver depends on a number of other R packages, I take a quick look at their minimum required R version, and it looks like some of them requires R>=3.4.0.

However, languageserver does not require all these dependencies to be the latest CRAN release. So the actually required minimal R version is the maximum of all dependencies with minimum required version, which is a bit tricky to find out.

qqlearn123 commented 1 year ago

Thanks for checking out. So, this means I can checkout dependencies one by one and hopefully find out?

But it seems that in the DESCRIPTION file, the depended and imports section each have minimum version number required (>=)?

renkun-ken commented 1 year ago

If we only specify the actually required minimal version of each dependency, i.e. using a lower version will definitely fail, then we could probably minimize the required R version.