khalidmammadov commented on a change in pull request #35516:
URL: https://github.com/apache/spark/pull/35516#discussion_r810662636



##########
File path: docs/README.md
##########
@@ -66,11 +73,15 @@ $ sudo pip install 'sphinx<3.1.0' mkdocs numpy 
pydata_sphinx_theme ipython nbsph
 
 ### R API Documentation (Optional)
 
-If you'd like to generate R API documentation, you'll need to [install 
Pandoc](https://pandoc.org/installing.html)
-and install these libraries:
+If you'd like to generate R API documentation, you'll need to install these 
packages and libraries:
+
+```sh
+$ sudo apt install libssl-dev libcurl4-openssl-dev pandoc libfontconfig1-dev 
libharfbuzz-dev \
+          libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev 
libxml2-dev
+```
 
 ```sh
-$ sudo Rscript -e 'install.packages(c("knitr", "devtools", "testthat", 
"rmarkdown"), repos="https://cloud.r-project.org/";)'
+$ sudo Rscript -e 'install.packages(c("curl", "knitr", "devtools", "testthat", 
"rmarkdown", "markdown", "e1071"), repos="https://cloud.r-project.org/";)'

Review comment:
       I re-tested that number of times in docker containers and it always 
fails if package is not installed. So, yes, in short `markdown` is required 
package. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to