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

project: format R and Rmd using styler #3497

Closed
wants to merge 41 commits into from
Closed

Conversation

haraldschilly
Copy link
Contributor

@haraldschilly haraldschilly commented Jan 23, 2019

Description

Switch to "styler" to format R code. Also use it to format code inside of Rmd and Rnw...

Help

attempting to format *.rnw files always raises

Error formatting code: 
Error: document not fully opened

which is in the project's format/prettier.ts file. Something must be fundamentally going wrong...

Testing Steps

Relevant Issues

Checklist:

  • No debugging console.log messages.
  • All new code is actually used.
  • Non-obvious code has some sort of comments.

Front end:

  • Restart at least one project and check its ~/.smc/local_hub/local_hub.log
  • Completely restart Webpack with ./w in /src
  • Completely restart the hub by killing and restarting ./start_hub.py in /src/dev/project
  • Screenshots if relevant.

@haraldschilly haraldschilly added the needs-help I could really use help on this from somebody else! label Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-help I could really use help on this from somebody else! PR-work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants