CentOS install.packages issue "user not found"

...Hello all, I am attempting to do a fresh build of a Shiny server, using CentOS 8. I have been using the instructions on the Shiny server download site.
I have been successful up to the point of installing the Shiny R packages. Using the code on the website <sudo su -
-c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')"">
I am getting the following error/response: <[root@CP-Shiny]# sudo su - \ -c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')""
su: user -c does not exist>

I have been unable to find a work around for this, any help will be extremely appreciated.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.