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

Knitting Code Chunks? #31

Open
mrworthington opened this issue Mar 12, 2021 · 1 comment
Open

Knitting Code Chunks? #31

mrworthington opened this issue Mar 12, 2021 · 1 comment

Comments

@mrworthington
Copy link

Hi Sean! Thanks for the amazing packing. I'm currently using the onofre theme on this site. I'm wanting to take some of those stats and turn them, for example, into either a {gt} table or {highcharter} chart, but every time I knit the page with any kind of code chunk using either {gt}, {highcharter}, or {ggplot2}... nothing gets rendered. For now, I've resorted to text, but would love to transform the text there into a table or chart.

Is there something that's been disabled in the package? Happy to create a reprex, but just wanted to ask up front before I did.

Thanks Sean!

@seankross
Copy link
Owner

Hi @mrworthington,

Here is my own reproducible example which works for me but is certainly not pretty!

---
title: "Tobi Burns"
image: "tobi.jpg"
links:
  - label: LinkedIn
    url: "https://linkedin.com/"
  - label: Twitter
    url: "https://twitter.com/"
  - label: GitHub
    url: "https://github.com/"
  - label: Email
    url: "mailto:email@email.com"
output:
  postcards::jolla
---

``{r}
library(ggplot2)

ggplot(mtcars, aes(mpg, hp)) + 
  geom_point()
``
 
I am a classically trained data scientist living in the San Francisco Bay Area. 
Currently I work on the Oculus team at Facebook. I love talking about baseball, 
true crime podcasts, and causal inference.

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