(platform = AWS Amazon Linux 2)
Trying to create an entry in packer.json to install the R shiny package. The command line to install is:
sudo su -
-c “R -e “install.packages(‘shiny’, repos=‘https://cran.rstudio.com/’)””
But this doesn’t work in the packer build file, even when I insert " at the beginning and ", at the end. I know it can work, just need the proper syntax.
Suggestions?