Installing rlang version 1.1.0

I was trying to install ExomeDepth pacakge, after that one of its command from its document getBamCounts gives following error.

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  namespace ‘rlang’ 1.0.5 is already loaded, but >= 1.1.0 is required
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 1.0.5 is already loaded, but >= 1.1.0 is required
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 1.0.5 is already loaded, but >= 1.1.0 is required

First thing that I do not understand is that it should have installed the version it is saying on its own. Even so, I tried installing 1.1.0 using following install.packages("rlang", version="1.1.0") . But it still installs 1.0.5. I checked if the 1.1.0 is available or not using

av <- available.packages(filters=list())

av[av[, "Package"] == "rlang", ]

The result it shows is the following.

           Package    Version       Priority        Depends        Imports       LinkingTo
rlang    "rlang"        "1.1.0"          NA       "R (>= 3.5.0)"      "utils"            NA       
rlang    "rlang"        "1.0.6"          NA       "R (>= 3.4.0)"      "utils"            NA       
           Suggests                                                                                                                                                     
rlang    "cli (>= 3.1.0), covr, crayon, fs, glue, knitr, magrittr,\nmethods, pillar, rmarkdown, stats, testthat (>= 3.0.0), tibble,\nusethis, vctrs (>= 0.2.3), withr"
rlang    "cli (>= 3.1.0), covr, crayon, fs, glue, knitr, magrittr,\nmethods, pillar, rmarkdown, stats, testthat (>= 3.0.0), tibble,\nusethis, vctrs (>= 0.2.3), withr"
          Enhances License                   License_is_FOSS License_restricts_use
rlang      "winch"  "MIT + file LICENSE" NA              NA                   
rlang      "winch"  "MIT + file LICENSE" NA              NA                   
          OS_type   Archs                           MD5sum                             NeedsCompilation File
rlang           NA      NA          "58861e9d99517eb10f7683249efae513"      "yes"                  NA  
rlang           NA      NA          "907bc04039194b0c7edc19e9084b14fc"      "yes"                  NA  
          Repository                               
rlang "https://cloud.r-project.org/src/contrib"
rlang "https://cran.microsoft.com/src/contrib" 

Can someone tell me how to install rlang v1.1.0 ?

Read more here: Source link