ERROR: lazy loading failed for package 'recipes' * removing 'C:/Users/sakal/anaconda3/envs/rstudio-/lib/R/library/recipes' Warning in install.packages : installation of package ‘recipes’ had non-zero exit status?

I am facing this issue

ERROR: lazy loading failed for package 'recipes'

  • removing 'C:/Users/sakal/anaconda3/envs/rstudio-/lib/R/library/recipes'
    Warning in install.packages :
    installation of package ‘recipes’ had non-zero exit status

Please post all of the output following the install.packages() command. Put lines with three back ticks before and after the pasted output.
```
Pasted output
```

Thanks for spending your time helping me just now I uninstalled and reinstalled r it is working fine now.

Possibly your R version is not installed in the default location. Find it (perhaps in your documents folder), and refer in Rstudio to the correct location. I hope that is the issue, if not.... then look further. Good luck!