-
-
Notifications
You must be signed in to change notification settings - Fork 981
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
Error with multiple statements python chunks from file #1589
Comments
Fixed in knitr. You can install the development version via remotes::install_github('yihui/knitr') Thanks for the report! |
Thanks for the quick fix! Sorry for the confusion with knitr. |
Me again. FYI, there is an error when python chunks contain comments only.
|
Please see yihui/knitr#1724 (comment) |
Darío Hereñú (1): Fixed syntax issues (#1725) Emily Riederer (1): cleaned up sass dependency following sass CRAN release (#1722) Yihui Xie (14): start the next version input can no longer be connections all-in on UTF-8! cosmetic roxygenize and bump version remove "above" fix rstudio/rmarkdown#1589: parse_chunk() no longer concatenate source lines to a single string by \n clean up files/dirs written by examples since CRAN will NOTE them input must be character if provided Revert "cleaned up sass dependency following sass CRAN release (#1722)" fix broken links use xvfb-run; I don't know why "sh -e /etc/init.d/xvfb start" stopped working on Travis also clean up the figure/ dir here CRAN release v1.24 atusy (1): travis ci depends on libglu1-mesa-dev (#1727)
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
The following code works when
code2
contains a single statement.It fails if it contains multiple statements, that otherwise are executed correctly if provided directly in the Rmd document.
Both cases work fine with R.
The error is:
Thanks.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: