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

Fix scrambled output in the introduction vignette #47

Closed
strohne opened this issue May 24, 2024 · 3 comments
Closed

Fix scrambled output in the introduction vignette #47

strohne opened this issue May 24, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@strohne
Copy link
Owner

strohne commented May 24, 2024

In https://strohne.github.io/volker/articles/introduction.html the codebook() function output is ugly:

image

@HenriekeKotthoff HenriekeKotthoff self-assigned this May 27, 2024
@HenriekeKotthoff HenriekeKotthoff added the documentation Improvements or additions to documentation label May 28, 2024
@HenriekeKotthoff HenriekeKotthoff removed their assignment May 28, 2024
@strohne
Copy link
Owner Author

strohne commented May 30, 2024

Done

@strohne strohne closed this as completed May 30, 2024
@strohne
Copy link
Owner Author

strohne commented May 30, 2024

Well, not done yet....why do the vignettes render differently in the local system compared to the GitHub actions workflow?

@strohne strohne reopened this May 30, 2024
@strohne
Copy link
Owner Author

strohne commented May 30, 2024

Fixed. In the options, we need to set comment to "#>" and collapse to TRUE.

knitr::opts_chunk$set(
  comment = "#>",
  echo = TRUE,
  message = FALSE,
  collapse=TRUE
)

See ddsjoberg/starter#25 and r-lib/pkgdown#1843

@strohne strohne closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants