Try reinstalling stringi package, restart your R session and then try to install pryr again.
stringi
pryr