Is it possible to use the required R packages from a renv?
I am using CDT for a hobby project where I test different tools for causal discovery. Since you use a modified version of RCIT package I get a conflict when I try to install CDT together with Tigramite. Each time I need to either install the original RCIT package or the custom made version depending on the tool I want to use.
There is a package in R called renv (https://rstudio.github.io/renv/articles/renv.html) that can create virtual environments similar to virtualenv from Python. Is it possible to create a virtual environment in R where to install the required packages and to run CDT with those packages? Have you ever tried it?
My knowledge about R is fairly limited and I started to play with it only when I started to use CDT and therefore I do not know if this is possible or it is a dead end.
Thank you very much for creating and taking care of CDT because it is an amazing tool !
Regards, Nicolae
Hello Nicolae,
This seems like a really good idea ! I think that setting an R env like cdt.r_env = 'name_of_env' would be really great, and make the installation/management of R packages much more simple.
I'll look into it and try to develop this (I'll keep this issue up for tracking the development of the feature)
Best, Diviyan