Skip to content

Use styler base_indention#404

Merged
renkun-ken merged 4 commits intoREditorSupport:masterfrom
renkun-ken:styler-base-indention
Apr 3, 2021
Merged

Use styler base_indention#404
renkun-ken merged 4 commits intoREditorSupport:masterfrom
renkun-ken:styler-base-indention

Conversation

@renkun-ken
Copy link
Copy Markdown
Member

Closes #400.

This PR uses the latest styler base_indention and removes the old hacking way to add indention.

I think we could wait until r-lib/styler#764 is merged upstream so that this PR could be merged too.

We'll update the minimum version of styler in DESCRIPTION if a new version (probably v1.4.1) is released to CRAN.

@randy3k
Copy link
Copy Markdown
Member

randy3k commented Mar 30, 2021

Perhaps we could specify the following item that devtools::install supports

Remotes: r-lib/styler#764

see https://cran.r-project.org/web/packages/devtools/vignettes/dependencies.html for details

@renkun-ken
Copy link
Copy Markdown
Member Author

renkun-ken commented Mar 31, 2021

Do we also include this PR in the upcoming release? The macOS and Windows builds of styler are not ready due to the binary builds are still on the way.

@randy3k
Copy link
Copy Markdown
Member

randy3k commented Apr 1, 2021

Let's wait for the binaries for styler then.

@renkun-ken
Copy link
Copy Markdown
Member Author

The binary builds on all platforms are ready and the CI passes now.

@renkun-ken renkun-ken merged commit 3faeee2 into REditorSupport:master Apr 3, 2021
@renkun-ken
Copy link
Copy Markdown
Member Author

@randy3k Looks like we could do a new release then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use styler::style_text(base_indention=) for styler > 1.4.0

2 participants