Hi all,
I have a Shiny app that's worked for years (both locally and on shinyapps.io) which still works locally but which can no longer run on shinyapps. The problem appears to related to installing a package from Github.
The code for installing the package has not changed. Nor did the package (until I tried editing the Description file as a possible workaround):
devtools::install_github("chrisadolph/tileForShiny")
I see the following error in the log file. Any thoughts on possible solutions?
2022-02-05T17:24:08.086566+00:00 shinyapps[279067]: Downloading GitHub repo chrisadolph/tileForShiny@HEAD
2022-02-05T17:24:09.577354+00:00 shinyapps[279067]: * checking for file ‘/tmp/RtmpK6X7bi/remotes1c28bc4041/chrisadolph-tileForShiny-5ecde46/DESCRIPTION’ ... OK
2022-02-05T17:24:09.614468+00:00 shinyapps[279067]: * preparing ‘tile’:
2022-02-05T17:24:09.659515+00:00 shinyapps[279067]: * checking for LF line-endings in source and make files and shell scripts
2022-02-05T17:24:09.618013+00:00 shinyapps[279067]: * checking DESCRIPTION meta-information ... OK
2022-02-05T17:24:09.660580+00:00 shinyapps[279067]: * checking for empty or unneeded directories
2022-02-05T17:24:09.661680+00:00 shinyapps[279067]: * looking to see if a ‘data/datalist’ file should be added
2022-02-05T17:24:09.783231+00:00 shinyapps[279067]:
2022-02-05T17:24:09.663948+00:00 shinyapps[279067]: * building ‘tile_0.4.14.tar.gz’
2022-02-05T17:24:09.837890+00:00 shinyapps[279067]: Warning in i.p(...) :
2022-02-05T17:24:09.837891+00:00 shinyapps[279067]: 'lib = "/opt/R/4.1.2/lib/R/library"' is not writable
2022-02-05T17:24:09.847552+00:00 shinyapps[279067]: Warning: Error in : Failed to install 'tile' from GitHub:
2022-02-05T17:24:09.847553+00:00 shinyapps[279067]: unable to install packages
2022-02-05T17:24:09.852100+00:00 shinyapps[279067]: 72:
2022-02-05T17:24:09.852244+00:00 shinyapps[279067]: Error : Failed to install 'tile' from GitHub:
2022-02-05T17:24:09.852246+00:00 shinyapps[279067]: unable to install packages
Thanks!
Chris