insightsengineering / tern

Table, Listings, and Graphs (TLG) library for common outputs used in clinical trials
https://insightsengineering.github.io/tern/
Other
77 stars 22 forks source link

[Failed to install tern package]: <Failed to install tern package in 4.1.2 R version.> #1217

Closed chengzhang96 closed 8 months ago

chengzhang96 commented 8 months ago

What is your question?

My R version is 4.1.2, when I try to install the tern package, it tells me that the dependency package "estimability" requires R (>= 4.3.0), is there any way for me to successfully install the tern package in R version 4.1.2? 屏幕截图 2024-03-29 182956

Code of Conduct

Contribution Guidelines

Security Policy

Melkiades commented 8 months ago

@pawelru do we then need tern R>4.3? Maybe it is a dependency we can have a lower minimum version?

chengzhang96 commented 8 months ago

library(devtools) install_version("estimability", version = "1.4.1")

I can now successfully install the tern package by installing v1.4.1 of estimability, thanks!

pawelru commented 8 months ago

@pawelru do we then need tern R>4.3? Maybe it is a dependency we can have a lower minimum version?

We definitely don't. It's due to external dependency that is out of our control. Luckily OP managed to find the root cause and find a work around. I think it's fair to close it.