Run usethis::edit_r_profile() to edit your .Rprofile. Then write in:
usethis::edit_r_profile()
.Rprofile
options(repos=structure(c( FHI="https://folkehelseinstituttet.github.io/drat/", CRAN="https://cran.rstudio.com" )))
Save the file and restart R.