Skip to content

Document how to generate PDF #57

@nalimilan

Description

@nalimilan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions