You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM rocker/tidyverse:latest
# Install R packages
RUN install2.r --error \
shiny \
remotes \
DT
RUN R -e "remotes::install_github('MarkEdmondson1234/googleAuthR')"
RUN R -e "remotes::install_github('MarkEdmondson1234/googleAnalyticsR')"
# ENTRYPOINT Instruction
COPY . /RedCop
WORKDIR RedCop
run mkdir -p ~/.cache/gargle
ENTRYPOINT ["R", "-e", "shiny::runApp(port = 8080,host = '0.0.0.0')"] # Exec Form
Expected output
App is running
Actual output
Before you run your code, please run:
options(googleAuthR.verbose=2) and copy-paste the console output here.
Check it doesn't include any sensitive info like auth tokens or accountIds - you can usually just edit those out manually and replace with say XXX
What goes wrong
Using this code from this website https://code.markedmondson.me/googleAnalyticsR/articles/shiny.html
and localy it's working fine but when I put it with in a Docker-Container I can log in but then I get the error message
Request Status Code: 403
I don't know whats going wrong here.
Steps to reproduce the problem
app.r
.Renviron
GAR_CLIENT_WEB_JSON=./auth/client_secret_551343444456-trpgmtmso8kn17uj1dtg0itl32l6pjsc.apps.googleusercontent.com.json
Dockerfile
Expected output
App is running
Actual output
Before you run your code, please run:
options(googleAuthR.verbose=2)
and copy-paste the console output here.Check it doesn't include any sensitive info like auth tokens or accountIds - you can usually just edit those out manually and replace with say
XXX
'API Data failed to parse' diagnostics
If you have an error starting with:
API Data failed to parse.
gar_parse_error.rds
to your working directory.Session Info
Please run
sessionInfo()
so we can check what versions of packages you have installedThe text was updated successfully, but these errors were encountered: