Repository navigation
Test R 3.1 and R 3.2 - #249
Conversation
53aff9f to
59a8494
Compare
|
We can just use the backports package to fix the trimws error: https://travis-ci.org/krlmlr/styler/jobs/293558005#L1786 |
|
|
|
Ok, great. |
75b5a47 to
cc9af41
Compare
cc9af41 to
acfb74f
Compare
eeb2c0d to
0a4de6d
Compare
|
Ok, now I made it work. |
| #' styler:::create_node_from_nested_root(initialized) | ||
| #' } | ||
| create_node_from_nested_root <- function(pd_nested) { | ||
| if (getRversion() < 3.2) stop_insufficient_r_version() |
There was a problem hiding this comment.
Can we just check if the data.tree package is available here? They might start supporting R 3.1, or it still may be missing because it's Suggests only.
| styler:::create_tree(code) | ||
| ``` | ||
|
|
||
| ## levelName |
There was a problem hiding this comment.
I wonder if this still renders correctly in the vignette.
There was a problem hiding this comment.
Oh, this is a code block, too. I was just looking for the triple backticks.
- Adapt documentation (#290). - Add roundtrip (#287). - Fix AppVeyor builds. - Fix token insertion / comment interaction (#279). - Clarify labelling strategy (#285). - Fixing and extending Rstudioaddins (#283). - Fix eq assign parsing (#276). - style_files -> vectorized style_file (#273). - Refactoring (#270). - Fix CI (#275). - Fix covr (#274). - Renaming files (#271). - Handle styling of an unsaved active file (#243). - Test R 3.1 and R 3.2 (#249). - Allow empty {} without line break (#261). - Wrap expr in expr before enclosing with curly braces (#263). - Avoid checking for hard-coded dot (#262). - Account for dependency renaming (utf8 changed to enc) (#264). - Indention of function declaration and closing braces (#260). - Only remove line break before closing with strict option (#252).
@lorenzwalthert: Our suggested data.tree imports DiagrammeR which requires R >= 3.2. Could you please look into making R CMD check work if data.tree is not available? You can push to this branch if you like.
Required for #238.