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

Support knitr blocks #696

Closed
hadley opened this issue Jan 12, 2018 · 3 comments
Closed

Support knitr blocks #696

hadley opened this issue Jan 12, 2018 · 3 comments
Labels
feature a feature request or enhancement rd ✍️

Comments

@hadley
Copy link
Member

hadley commented Jan 12, 2018

e.g.

@details

```{r}
1 + 1
```

Would yield

\preformatted{
1 + 1 
#> [2]
}

For now, code will have to run quickly as results would not be cached.

@gaborcsardi
Copy link
Member

gaborcsardi commented Jan 13, 2018

Interesting idea. Which environment would they run in?

@hadley
Copy link
Member Author

hadley commented Jan 14, 2018

New environment with package loaded?

@tbates
Copy link
Contributor

tbates commented Jan 17, 2018

Would certainly be good for catching errors in code given outside the examples section

@hadley hadley added the feature a feature request or enhancement label Jun 28, 2018
@hadley hadley closed this as completed in 7a8da92 Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement rd ✍️
Projects
None yet
Development

No branches or pull requests

3 participants