-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1195 from r-lib/f1032-remove-blank-lines-after-an…
…d-before-parens Remove blank lines after opening and before closing braces
- Loading branch information
Showing
28 changed files
with
291 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,19 +24,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install system dependencies | ||
if: runner.os == 'Linux' | ||
run: | | ||
# your system installation code here | ||
# sudo apt-get install -y libcurl4-openssl-dev | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@v5.1.0 | ||
with: | ||
python-version: "3.9" | ||
architecture: "x64" | ||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
env: | ||
env: | ||
SKIP: pkgdown | ||
- name: Commit files | ||
if: failure() && startsWith(github.ref, 'refs/heads') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,13 @@ | |
{1 + 3} | ||
{2 + sin(pi)} | ||
} | ||
|
||
{ | ||
|
||
# some additions | ||
{1 + 3} | ||
{2 + sin(pi)} | ||
|
||
# nothing to see here | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,15 @@ | |
2 + sin(pi) | ||
} | ||
} | ||
|
||
{ | ||
# some additions | ||
{ | ||
1 + 3 | ||
} | ||
{ | ||
2 + sin(pi) | ||
} | ||
|
||
# nothing to see here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,18 @@ a <- function(x, y, z) { | |
x[i] +1 | ||
} | ||
} | ||
|
||
|
||
if ( | ||
|
||
require("logspline") && | ||
require("rstanarm") | ||
|
||
|
||
|
||
) { | ||
|
||
NULL | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,11 @@ a <- function(x, y, z) { | |
x[i] + 1 | ||
} | ||
} | ||
|
||
|
||
if ( | ||
require("logspline") && | ||
require("rstanarm") | ||
) { | ||
NULL | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,16 @@ | |
3 + 4 | ||
) | ||
) | ||
|
||
( | ||
|
||
1 + | ||
2 + ( | ||
# the space below is intentional | ||
|
||
3 + 4 | ||
# but the one here isn't | ||
|
||
|
||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,13 @@ | |
3 + 4 | ||
) | ||
) | ||
|
||
( | ||
1 + | ||
2 + ( | ||
# the space below is intentional | ||
|
||
3 + 4 | ||
# but the one here isn't | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,16 @@ call3(1, 2, 22), | |
), | ||
144 | ||
) | ||
|
||
call( | ||
|
||
1, | ||
call2( | ||
2, 3, | ||
call3(1, 2, 22), | ||
5 | ||
|
||
), | ||
144 | ||
|
||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,13 @@ call( | |
), | ||
144 | ||
) | ||
|
||
call( | ||
1, | ||
call2( | ||
2, 3, | ||
call3(1, 2, 22), | ||
5 | ||
), | ||
144 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,26 @@ a[[ | |
2 | ||
] # | ||
] | ||
|
||
|
||
a[[ | ||
|
||
2 | ||
|
||
|
||
]] | ||
|
||
|
||
a[[ | ||
|
||
# this comment shouldn't mess | ||
1, c( | ||
|
||
1, 2 | ||
|
||
# neither should this one | ||
|
||
) | ||
|
||
|
||
]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,18 @@ a[[ | |
2 | ||
] # | ||
] | ||
|
||
|
||
a[[ | ||
2 | ||
]] | ||
|
||
|
||
a[[ | ||
# this comment shouldn't mess | ||
1, c( | ||
1, 2 | ||
|
||
# neither should this one | ||
) | ||
]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.