tlamadon / blm-replicate

Replication package for Bonhomme Lamadon and Manresa paper, A distributional framework for matched data
19 stars 9 forks source link

I think the downloading of the package relys on a dependency (SDMTools) that is no longer available #5

Open beatriceallamand opened 3 years ago

beatriceallamand commented 3 years ago

Hi! I fail on installing the rblm package, and the console tells me the problem is packages ‘graph’, ‘SDMTools’ are not available.

This was my code:

Activate RTools

writeLines('PATH="${RTOOLS40_HOME}\usr\bin;${PATH}"', con = "~/.Renviron") Sys.which("make")

Download BLM

require(devtools) install_github("tlamadon/rblm")

And this is the message I get: Installing package into ‘C:/Users/Bea/Dropbox/Mi PC (DESKTOP-9IIBU1N)/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) ERROR: dependency 'SDMTools' is not available for package 'rblm'

Thank you :)

tlamadon commented 3 years ago

Hi there! Sorry to see this! I will try to find some time to take a look. These moving dependencies are really a headache!

tlamadon commented 3 years ago

did you try to install the graph library as explained here: https://bioconductor.org/packages/release/bioc/html/graph.html

I took a drastic approach... I removed ggm and SDMTools from the dependencies... Can you give it a try? Also, depending on what you are trying to do, we are putting together a python version that you can find here: https://tlamadon.github.io/pytwoway/notebooks/blm_example.html

Let me know!

beatriceallamand commented 3 years ago

Thank you very much! I will try that now. Beatrice Allamand.

El jue, 29 abr 2021 a las 14:12, Thibaut Lamadon @.***>) escribió:

did you try to install the graph library as explained here: https://bioconductor.org/packages/release/bioc/html/graph.html

I took a drastic approach... I removed ggm and SDMTools from the dependencies... Can you give it a try? Also, depending on what you are trying to do, we putting together a python version that you can find here: https://tlamadon.github.io/pytwoway/notebooks/blm_example.html

Let me know!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tlamadon/blm-replicate/issues/5#issuecomment-829480024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4NEQ3OSIUTWSLQWVM6RHTTLGORZANCNFSM432IF7CQ .

beatriceallamand commented 3 years ago

Hi! The installation process is now successfully completed, but when I call the packages, R tells me they are not there-

require(rblm) Loading required package: rblm Warning message: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called ‘rblm’

Same happens with knitr and kableExtra.

Maybe there is something else I'm missing.

Thank you so much! Beatrice Allamand.

El jue, 29 abr 2021 a las 14:59, Beatrice Allamand (< @.***>) escribió:

Thank you very much! I will try that now. Beatrice Allamand.

El jue, 29 abr 2021 a las 14:12, Thibaut Lamadon (< @.***>) escribió:

did you try to install the graph library as explained here: https://bioconductor.org/packages/release/bioc/html/graph.html

I took a drastic approach... I removed ggm and SDMTools from the dependencies... Can you give it a try? Also, depending on what you are trying to do, we putting together a python version that you can find here: https://tlamadon.github.io/pytwoway/notebooks/blm_example.html

Let me know!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tlamadon/blm-replicate/issues/5#issuecomment-829480024, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4NEQ3OSIUTWSLQWVM6RHTTLGORZANCNFSM432IF7CQ .