How to download the 0.4.6 version of rlang package on my local PC

I apologize in advance in case this is a silly question.

I need to download the latest version (0.4.6) of the rlang package, since further packages require it (e.g. "see" package). Unfortunately the following command lines still provide the version 0.4.5 :

``

install.packages("remotes")

remotes::install_github("r-lib/rlang")

I also tried:

devtools::install_cran("rlang")

But it yields a problem related to Rtools in R 4.0.2 :

>WARNING: Rtools is required to build R packages, but no version of Rtools compatible with R 4.0.2
> was found. (Only the following incompatible version(s) of Rtools were found:3.5)

Thanks in advance.

https://cran.r-project.org/bin/windows/Rtools/

The binary for rlang 0.4.6 is currently available on CRAN. Are you not able to install it using install.packages("rlang")?

if the former version can't be deleted, you can delete the "rlang" folder in the dir you install R.
some dir like "/your path/R/your version/library/rlang"
then install the new version

Thanks Junjiang, nirgrahamuk & Siddharthprabhu,

The solution was to install manually the older version, and then re-install it again with

install.packages("rlang")

Thanks a lot and have a nice day

I meant "uninstall" the package manually first

Good to hear! If your query has been addressed (even by you), please consider marking the relevant post as a solution.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.