How to install the R package usethis through Anaconda (or any other package)

Make sure you created an R environment in Anaconda and activate it.

Then install the usethis package by typing conda install -c conda-forge r-usethis.