Error: callr subprocess failed: there is no package called 'httr', error occuring while reprex

package ‘reprex’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\emmad\AppData\Local\Temp\Rtmp4I48TH\downloaded_packages

library(reprex)
reprex()
Rendering reprex...
Error: callr subprocess failed: there is no package called 'httr'

When you installed reprex, did you also install all its dependencies? Try either:

  • install.packages("reprex", dependencies = TRUE), or
  • check the "install dependencies" box in the RStudio IDE Install Packages dialog
2 Likes