library(tidyverse):Error: there is no package called ‘reprex’

I removed tidyverse again,and reinstall it,the same erro show up again,I try( install.packages("tidyverse", dependencies = TRUE)or install.packages("reprex", dependencies = TRUE)),but no use,I can not run tidyverse funtion now,please help!

We need more information to be able to help you, please post the complete output message you get when you try to install reprex

install.packages("reprex", dependencies = TRUE)

(post deleted by author)

(post deleted by author)

package ‘xfun’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
installing the source packages ‘tinytex’, ‘rmarkdown’, ‘reprex’

trying URL ''
Content type 'application/x-gzip' length 30085 bytes (29 KB)
downloaded 29 KB

thank you very much,I am a new guy to learn R.

Since you are using an old R version you are forced to compile packages from source (precompiled binaries are only available for the latest R versions), and for compiling R packages on Windows you need to have RTools installed in your system (not in R), you can download a suitable installer for your R version from here

Or, you could update R to the latest version (4.1.1) to get access to precompiled binaries that are easier to install.

I update R to the latest version,then the problem was solved,thank you so much,andresrcs :handshake:

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.