Skip to content
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

Use latest pandoc version #1

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

KHwong12
Copy link
Contributor

@KHwong12 KHwong12 commented Feb 3, 2022

Hi David, thanks a million for developing lambdr as well as writing that detailed tutorial blogpost! I successfully build an API to knit an HTML page after following the steps.

I encountered an issue though - pandoc returns an error code (and thus fails to knit) when I first tried to run the lambda function. I found the pandoc rpm available in EPEL repository is v1.12.3 (https://pkgs.org/search/?q=pandoc), while rmarkdown requires pandoc >= 1.14 (https://packagemanager.rstudio.com/client/#/repos/1/packages/rmarkdown).

I then followed the installing guide of pandoc to install the latest version of pandoc (instead of yum install pandoc) and the error was mysteriously gone.

I am not sure if others encountered the same issue. Still, this PR states the method to install the latest version of pandoc. Great if this helps.

@mdneuzerling
Copy link
Owner

Thanks so much! I didn’t encounter this particular error, but it can’t do any harm to expect a higher version.

I’m so glad you were able to make use of this package. You’ve also reminded me that I need to update the version on CRAN.

@mdneuzerling mdneuzerling merged commit 0f304d6 into mdneuzerling:main Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants