Open gaocegege opened 7 years ago
Yes, it may works, and I have some connections with the authors of formatR, so we have technical support :smile:
What are we currently using for checking R code formatting on the repository? Ideally the Example Processing.R sketches will both:
We are using FormatRBear in coala, and its backend is formatR.
Yeah, I agree with you :)
Try to use formatR, which means if the user wanna to use the formatter, he/she needs R installed.
if the user wanna to use the formatter, he/she needs R installed
As an alternative to the user installing R or to us including a full separate R install just for the PDE formatter...
Does formatR run in renjin?
http://packages.renjin.org/package/org.renjin.cran/formatR/1.2.1
Perhaps we could have the autoformatter call formatR through renjin, if it isn't too slow?
We could have a try but there are 5 tests failed.
I see -- then I think it is probably not worth trying.
There are some ways:
Now there is no formatter to format the code, we need to import or implement one.