ERROR: cannot extract package from ‘shinyproxy-2.1.0.tar.gz’

Based on Dockerfile of shinyproxy-demo

I’m not able to install shinyproxy-2.1.0.tar.gz using the command R CMD INSTALL
Error:

Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
ERROR: cannot extract package from ‘shinyproxy-2.1.0.tar.gz’

I want to use shinyproxy inside Docker container. But It seems to be necessary to install shinyproxy command inside the shiny docker image

Is there any alternative ?

Hi @socia_net,

You are mixing up things, because there is no such thing as an R package shinyproxy-2.1.0.tar.gz to be installed with R CMD INSTALL . We only distribute jar files of ShinyProxy, currently shinyproxy-2.2.0.jar (see https://www.shinyproxy.io/downloads/). If you want to run ShinyProxy containerized, see the configuration examples at https://github.com/openanalytics/shinyproxy-config-examples. Please read the getting started guide and deploying apps guidance to get started.

Best,
Tobias

1 Like

You’re right. It took me a week to find out why my shiny app (inside docker container) is not working with containerized Shinyproxy. I was so confused with the Dockerfile script on the shinyproxy-demo :

# install shinyproxy package with demo shiny application
COPY shinyproxy_0.0.1.tar.gz /root/
RUN R CMD INSTALL /root/shinyproxy_0.0.1.tar.gz
RUN rm /root/shinyproxy_0.0.1.tar.gz

But finally managed to have it displayed !
keep up the great work !

1 Like