We are going to need more information to help you, what library are you trying to install? what command are you using to install the library and what is the whole error message?
From the message you posted, two hints:
yamlis not found. Try to reinstall it.
Rcppseems to have an issue. Try to reinstall it too.
Then, try again to load