Error when deploying flexdashboard on shinyapps.io

Installing packages on shinyapps.io with R 4.0 throws the error
http://libpcre2-8.so not found
Seen this for both plogr and viridislite