DoubleML / doubleml-for-r

DoubleML - Double Machine Learning in R
https://docs.doubleml.org
Other
123 stars 25 forks source link

Make DoubleML available for R (≥ 4.0.2) #143

Closed isaac2lord closed 2 years ago

isaac2lord commented 2 years ago

Describe the feature you want to propose or implement

I cannot install DoubleML in below configs

SessionInfo (Microsoft R Open 4.0.2)

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux 8.3 (Ootpa)

Matrix products: default
BLAS:   /opt/microsoft/ropen/4.0.2/lib64/R/lib/libRblas.so
LAPACK: /opt/microsoft/ropen/4.0.2/lib64/R/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8       
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RevoUtils_11.0.2     RevoUtilsMath_11.0.0

loaded via a namespace (and not attached):
[1] compiler_4.0.2 parallel_4.0.2 tools_4.0.2

Commands Ran and outputs

> install.packages("DoubleML")
Installing package into ‘<XXX>/app/R40_Library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘DoubleML’ is not available (for R version 4.0.2)

Propose a possible solution or implementation

No response

Did you consider alternatives to the proposed solution. If yes, please describe

No response

Comments, context or references

No response

isaac2lord commented 2 years ago

I had to install it outside RStudio from source

$ R --vanilla
$ install.packages("DoubleML", lib='/XXX/app/R40_Library')