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

Using spin() with langages other than R #1779

Closed
3 tasks done
Hemken opened this issue Nov 25, 2019 · 2 comments
Closed
3 tasks done

Using spin() with langages other than R #1779

Hemken opened this issue Nov 25, 2019 · 2 comments

Comments

@Hemken
Copy link
Contributor

Hemken commented Nov 25, 2019

This is related to issues #1605 and #1773. Because spin() relies on R's code parsing to identify multiline comments, no other language can be spun.

(I use an older version of spin() with Stata and SAS code, occasionally.)

For code written wholly in another language, I propose the solution is to simply skip the R code parsing. The cost is that spin will not recognize multiline comments in languages other than R.


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.name/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('knitr'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/knitr').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

@yihui
Copy link
Owner

yihui commented Jan 15, 2020

Thanks! Since #1773 has been filed, you no longer need to file this issue. Let's keep all the discussions in #1773.

@yihui yihui closed this as completed Jan 15, 2020
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants