I need to use the factominer package

You should not use install commands inside an Rmd document, packages have to be installed interactively on the R console.

Run the install command on the R console and post the complete console output you get, but, please do not post screenshots, they are considered a bad practice here, post the console output as formated code instead. Here is how to do it: