Can't Install Blogdown

I am trying to install blogdown package from CRAN. After running install.packages("blogdown"), I get the error message below in my console:

ERROR: lazy loading failed for package 'blogdown'
* removing 'C:/Users/IFEANYI/Documents/R/win-library/4.0/blogdown'
Warning in install.packages :
  installation of package ‘blogdown’ had non-zero exit status

Please what could be wrong? Or is there another source for this package?

Please post the complete output after running install.packages("blogdown"). There should be more information about the cause.

Thanks. I restarted my R session prior to installation, and it worked. I now have blogdown installed in R Studio