You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -49,31 +49,31 @@ All the `.gen.R` suffixed R source code found under [`R/`](https://gitlab.com/rp
49
49
50
50
This package borrows a lot of the [Tidyverse](https://www.tidyverse.org/) design philosophies. The R code is guided by the [Tidy design principles](https://design.tidyverse.org/) and is formatted according to the [Tidyverse Style Guide](https://style.tidyverse.org/) (TSG) with the following exceptions:
51
51
52
-
-Line width is limited to **160 characters**, double the [limit proposed by the TSG](https://style.tidyverse.org/syntax.html#long-lines) (80 characters is ridiculously little given today’s high-resolution wide screen monitors).
52
+
- Line width is limited to **160 characters**, double the [limit proposed by the TSG](https://style.tidyverse.org/syntax.html#long-lines) (80 characters is ridiculously little given today’s high-resolution wide screen monitors).
53
53
54
-
Furthermore, the preferred style for breaking long lines differs. Instead of wrapping directly after an expression’s opening bracket as [suggested by the TSG](https://style.tidyverse.org/syntax.html#long-lines), we prefer two fewer line breaks and indent subsequent lines within the expression by its opening bracket:
54
+
Furthermore, the preferred style for breaking long lines differs. Instead of wrapping directly after an expression’s opening bracket as [suggested by the TSG](https://style.tidyverse.org/syntax.html#long-lines), we prefer two fewer line breaks and indent subsequent lines within the expression by its opening bracket:
- Usage of [R’s right-hand assignment operator `->`](https://rdrr.io/r/base/assignOps.html) is not allowed[^3].
75
75
76
-
-Rsourcecodeis*not*splitoverseveralfilesas [suggestedbytheTSG](https://style.tidyverse.org/package-files.html) butinstead is (asfaraspossible) keptinthesinglefile [`Rmd/nocodb.Rmd`](https://gitlab.com/rpkg.dev/nocodb/-/tree/main/Rmd/nocodb.Rmd) whichiswell-structuredthankstoits [Markdownsupport](#r-markdown-format).
76
+
- R source code is *not* split over several files as [suggested by the TSG](https://style.tidyverse.org/package-files.html) but instead is (as far as possible) kept in the single file [`Rmd/nocodb.Rmd`](https://gitlab.com/rpkg.dev/nocodb/-/tree/main/Rmd/nocodb.Rmd) which is well-structured thanks to its [Markdown support](#r-markdown-format).
77
77
78
78
As far as possible, these deviations from the TSG plus some additional restrictions are formally specified in [`pkgpurl::default_linters`](https://pkgpurl.rpkg.dev/reference/default_linters), which is (by default) used in [`pkgpurl::lint_rmd()`](https://pkgpurl.rpkg.dev/reference/lint_rmd), which in turn is the recommended way to lint this package.
Copy file name to clipboardExpand all lines: pkgdown/index.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -47,31 +47,31 @@ All the `.gen.R` suffixed R source code found under [`R/`](https://gitlab.com/rp
47
47
48
48
This package borrows a lot of the [Tidyverse](https://www.tidyverse.org/) design philosophies. The R code is guided by the [Tidy design principles](https://design.tidyverse.org/) and is formatted according to the [Tidyverse Style Guide](https://style.tidyverse.org/) (TSG) with the following exceptions:
49
49
50
-
-Line width is limited to **160 characters**, double the [limit proposed by the TSG](https://style.tidyverse.org/syntax.html#long-lines) (80 characters is ridiculously little given today's high-resolution wide screen monitors).
50
+
- Line width is limited to **160 characters**, double the [limit proposed by the TSG](https://style.tidyverse.org/syntax.html#long-lines) (80 characters is ridiculously little given today's high-resolution wide screen monitors).
51
51
52
-
Furthermore, the preferred style for breaking long lines differs. Instead of wrapping directly after an expression's opening bracket as [suggested by the TSG](https://style.tidyverse.org/syntax.html#long-lines), we prefer two fewer line breaks and indent subsequent lines within the expression by its opening bracket:
52
+
Furthermore, the preferred style for breaking long lines differs. Instead of wrapping directly after an expression's opening bracket as [suggested by the TSG](https://style.tidyverse.org/syntax.html#long-lines), we prefer two fewer line breaks and indent subsequent lines within the expression by its opening bracket:
This results in less vertical and more horizontal spread of the code and better readability in pipes.
69
69
70
-
-Usageof [magrittr's compound assignment pipe-operator `%<>%`](https://magrittr.tidyverse.org/reference/compound.html) is desirable[^2].
70
+
- Usage of [magrittr's compound assignment pipe-operator `%<>%`](https://magrittr.tidyverse.org/reference/compound.html) is desirable[^2].
71
71
72
-
- Usage of [R'sright-handassignmentoperator`->`](https://rdrr.io/r/base/assignOps.html) isnotallowed[^3].
72
+
- Usage of [R's right-hand assignment operator `->`](https://rdrr.io/r/base/assignOps.html) is not allowed[^3].
73
73
74
-
-Rsourcecodeis*not*splitoverseveralfilesas [suggestedbytheTSG](https://style.tidyverse.org/package-files.html) butinstead is (asfaraspossible) keptinthesinglefile [`Rmd/nocodb.Rmd`](https://gitlab.com/rpkg.dev/nocodb/-/tree/main/Rmd/nocodb.Rmd) whichiswell-structuredthankstoits [Markdownsupport](#r-markdown-format).
74
+
- R source code is *not* split over several files as [suggested by the TSG](https://style.tidyverse.org/package-files.html) but instead is (as far as possible) kept in the single file [`Rmd/nocodb.Rmd`](https://gitlab.com/rpkg.dev/nocodb/-/tree/main/Rmd/nocodb.Rmd) which is well-structured thanks to its [Markdown support](#r-markdown-format).
75
75
76
76
As far as possible, these deviations from the TSG plus some additional restrictions are formally specified in [`pkgpurl::default_linters`](https://pkgpurl.rpkg.dev/reference/default_linters), which is (by default) used in [`pkgpurl::lint_rmd()`](https://pkgpurl.rpkg.dev/reference/lint_rmd), which in turn is the recommended way to lint this package.
0 commit comments