Skip to content

Error installing survminer with ggpubr #698

@martabanmed-stack

Description

@martabanmed-stack

When I try installing the package I get this error. I dont understand. It happens on new projects also.
Loading required package: ggpubr
Error: package or namespace load failed for ‘ggpubr’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
namespace ‘rlang’ 1.1.6 is already loaded, but >= 1.1.7 is required
Error: package ‘ggpubr’ could not be loaded.

This is the code I'm trying to install:
install.packages("survival")
install.packages("ggplot2")
library(survival)
library(ggplot2)
install.packages('survminer', repos = 'https://packagemanager.posit.co/cran/__linux__/manylinux_2_28/latest')
library(survminer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions