How install packages from package.tar.gz on Shiny.Server?



Hi guys,
Could you help me?
I am trying to install one package not hosted on Cran by the file “package.tar.gz”.

I am using:

install.packages(“D:/home/local/shiny/R/site-library/package.tar.gz”, repos = NULL, type = “source”).

orHow install packages from package.tar.gz?

sudo su - -c “R -q -e “install.packages(‘D:/home/local/shiny/R/site-library/package.tar.gz’, repos=NULL’)””

It does not work on the server but works on my machine. Then, I copied and pasted on server R library the PACKAGE installed folder. I got the Error: cannot open the connection

Thank you