I probably made a mistake and developed a tool in R.
Obviously, when R version updates, many packages stop working just because.
So, instead of install.packages I try to use the particular version of the packages (old one). It depends on other packages, who can not be installed using an old R version. I was trying to install them from sources - after 10th step I gave up - it is not a good way to install packages for sure.
The tool is supposed to be used in clinics = no docker is allowed.
What are the other ways to provide an installation of R packages, given that many people use old R versions (say, starting from 3.2) and are not going to update it?
devtools also can not be installed using old R since it depends on other packages that have the same problem.
UPD: solution: https://github.com/imgag/megSAP/blob/master/data/install_deps_clincnv.R , but before
devtools has to be installed via Ubuntu package manager (not from R).
sudo apt-get install -y r-cran-devtools