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

Document how to generate PDF #57

Open
nalimilan opened this issue Dec 8, 2020 · 1 comment
Open

Document how to generate PDF #57

nalimilan opened this issue Dec 8, 2020 · 1 comment

Comments

@nalimilan
Copy link

I tried knitting the example .Rmd file generated by new_codebook_rmd() and I got an error (see below). It took me some time (I had to look at the source code for the tutorial actually) to realize that I need to pass metadata_json=FALSE, metadata_table=FALSE for PDF generation to work. It could be useful to mention this in the documentation and in a comment in the generated file.

Very useful package BTW!

Error : Functions that produce HTML output found in document targeting latex output.
Please change the output type of this document to HTML. Alternatively, you can allow
HTML output in non-HTML formats by adding this option to the YAML front-matter of
your rmarkdown file:

  always_allow_html: true

Note however that the HTML output will not be visible in non-HTML formats.
@BroVic
Copy link

BroVic commented Dec 18, 2020

Thanks for posting this issue. It solved my problem.

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

No branches or pull requests

2 participants