-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error when use in docker #38
Comments
You need a Pandoc to render a Rmd document with rmarkdown. It seems you are in Docker, so best way to install Pandoc in your environment is to install the latest binary available using the package manager, or from github release. See https://pandoc.org/installing.html#linux This will avoid the need to have gh or pandoc R package only to install Pandoc. You don't need to for your app or the rendering. So best is to install Pandoc without them, following the standard way.
About this, it seems somehow that the command
Are you inside Docker ? or on your M1 ? Not sure to follow... |
I'm on my M1. I'm newbie on docker. I added
My dockerfile:
|
This is a docker issue really. I don't know which version of Debian you are using. The issue you see is probably because of older Debian compare to configuration and repo update Example of quick search for error message https://syslog.me/2023/06/12/welcome-bookworm-and-how-to-continue-running-apt-get-update/ So you need to use a more recent Debian or adapt you dockerfile to use the older one. |
Yes it's docker issue. It's about base docker image. I had
this line and it solved the issue. Thank you! |
Glad it worked ! Thanks for the update |
Hi,
I have a Shiny app which is rendering a .Rmd file. Firstly, I got this
Warning: Error in : pandoc version 1.12.3 or higher is required and was not found (see the help page ?rmarkdown::pandoc_available).
then I try to install pandoc with R packageI added this into my dockerfile:
also I created a Rscript
Now I'm getting this error:
I'm using Mac M1. How can I solve it any idea?
The text was updated successfully, but these errors were encountered: