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

pandoc.formula with caption causes error #274

Closed
puterleat opened this issue Sep 6, 2016 · 2 comments
Closed

pandoc.formula with caption causes error #274

puterleat opened this issue Sep 6, 2016 · 2 comments

Comments

@puterleat
Copy link

puterleat commented Sep 6, 2016

For example:

f <- y~x
pandoc.formula(f, caption="Blah")

Generates this error:

Error in !is.null(caption) && caption != "" && check_caption(caption) :
invalid 'y' type in 'x && y'

@daroczig
Copy link
Member

daroczig commented Sep 6, 2016

Thanks for reporting this. Please test if above commit resolve the issue.

@puterleat
Copy link
Author

Works for me. Thanks for fixing so quickly.

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