-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
169 wrapping up the long code in the Report #218
Changes from 35 commits
6ebeb49
007e574
0c5fdb1
26ea791
bf95d7e
0e7758b
33625e5
2dd832b
c82fbb8
2618a7f
69b6e7c
74cf1b9
79bd779
a07f0f4
7bbb7f9
9ca057a
8076344
684cfaa
d79df80
7e0e03c
7b06e93
a05d616
d379ddc
5b0e811
07543fa
54523a4
706d504
8fa2e3a
a08cca5
cac16b0
5f132ef
b78d874
577163f
1448099
19a23f5
4379685
b1ab7c1
f08f5b8
17bec72
d222ef4
aef6767
7b3b89c
c5ed90a
bd4a839
71b6d8a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
linters: linters_with_defaults( | ||
line_length_linter = line_length_linter(120), | ||
cyclocomp_linter = NULL, | ||
object_usage_linter = NULL | ||
object_usage_linter = NULL, | ||
indentation_linter = NULL | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.onLoad <- function(libname, pkgname) { | ||
# adapted from https://r-pkgs.org/code.html#sec-code-onLoad-onAttach | ||
kartikeyakirar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
op <- options() | ||
default_global_knitr <- list(teal.reporter.global_knitr = list( | ||
echo = TRUE, | ||
tidy.opts = list(width.cutoff = 60), | ||
tidy = requireNamespace("formatR", quietly = TRUE) | ||
)) | ||
|
||
if (!("teal.reporter.global_knitr" %in% names(op))) { | ||
options(default_global_knitr) | ||
} | ||
|
||
invisible() | ||
} | ||
|
||
.onAttach <- function(libname, pkgname) { | ||
packageStartupMessage( | ||
if (!requireNamespace("formatR", quietly = TRUE)) { | ||
"For better code formatting, consider installing the formatR package." | ||
} | ||
) | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @kartikeyakirar can you run verdepcheck flow to determine the minimal needed version of this package?