Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2281 commits
Select commit Hold shift + click to select a range
799249c
more misspellings
lorenzwalthert Oct 24, 2022
774208d
Merge pull request #1038 from MichaelChirico/patch-2
IndrajeetPatil Oct 24, 2022
4354f20
only run pkgapi if available
lorenzwalthert Oct 24, 2022
3251ea7
Merge branch 'main' into pkgapi
lorenzwalthert Oct 24, 2022
a760cfb
Merge pull request #1039 from r-lib/pkgapi
lorenzwalthert Oct 24, 2022
b3429b6
Minor code cleanup for caching-related functions
IndrajeetPatil Oct 25, 2022
4484cfb
Improve YAML formatting for pkgdown
IndrajeetPatil Oct 25, 2022
f4a1e67
Update .Rbuildignore
IndrajeetPatil Oct 25, 2022
a45f667
Merge pull request #1041 from r-lib/cache_minor_cleanup
IndrajeetPatil Oct 26, 2022
d9758c6
Merge branch 'main' into pkgdown_yaml_formatting
IndrajeetPatil Oct 26, 2022
4c1cb51
Merge pull request #1042 from r-lib/pkgdown_yaml_formatting
IndrajeetPatil Oct 27, 2022
59958a1
Expose internals used with other style guides
IndrajeetPatil Oct 28, 2022
880a145
pre-commit
github-actions[bot] Oct 28, 2022
fce1680
minor
IndrajeetPatil Oct 28, 2022
5bfd6db
Add examples for remaining new exports
IndrajeetPatil Oct 30, 2022
8544a3c
Example for `compute_parse_data_nested()`
IndrajeetPatil Oct 30, 2022
d5d2546
Update compute_parse_data_nested.Rd
IndrajeetPatil Oct 30, 2022
8e08f43
Update contributing guidelines
IndrajeetPatil Nov 2, 2022
1f70d1f
pre-commit
github-actions[bot] Nov 2, 2022
9365f14
minor
IndrajeetPatil Nov 2, 2022
43fa650
rename the not exported set_linebreak_after_ggplot2_plus to be consis…
Polkas Nov 3, 2022
0083e3d
... in local_options() was introduced only in v.2.3.0
lorenzwalthert Nov 6, 2022
a995a35
Merge pull request #1047 from r-lib/update_contributing
IndrajeetPatil Nov 7, 2022
29599f1
Merge pull request #1049 from Polkas/1048_setlinebreak
IndrajeetPatil Nov 7, 2022
68436ea
Merge pull request #1051 from r-lib/withr-min-req
IndrajeetPatil Nov 7, 2022
24684f6
reference via index, not name
lorenzwalthert Nov 7, 2022
3c779b2
Merge pull request #1043 from r-lib/export_third_party_helpers
IndrajeetPatil Nov 7, 2022
daf2f83
Include all third-party style guide helpers on website
IndrajeetPatil Nov 7, 2022
bf6524d
Merge pull request #1052 from r-lib/docs_pd_is_pkgdown
IndrajeetPatil Nov 7, 2022
fbde5db
bump for release 1.8.1
lorenzwalthert Nov 7, 2022
c2e0d9a
Don't run any tests
lorenzwalthert Nov 7, 2022
ad2e2db
Merge pull request #1053 from r-lib/rc-1.8.1
lorenzwalthert Nov 8, 2022
e456628
bump version
lorenzwalthert Nov 8, 2022
8859cc3
Revert "Don't run any tests"
lorenzwalthert Nov 8, 2022
131a389
Use integer literals where needed
IndrajeetPatil Nov 8, 2022
e75bcf1
Merge pull request #1054 from r-lib/remaining_integer_literals
IndrajeetPatil Nov 8, 2022
cf8feae
Update transform-files.R
IndrajeetPatil Nov 8, 2022
75544d0
get started
IndrajeetPatil Nov 9, 2022
21ab4e8
pre-commit
github-actions[bot] Nov 9, 2022
89fd790
minor
IndrajeetPatil Nov 9, 2022
b37d847
add `is_roxygen_code_example` parameter
IndrajeetPatil Nov 10, 2022
d89f51d
fix regression
IndrajeetPatil Nov 10, 2022
7ea5656
comment out for now
IndrajeetPatil Nov 10, 2022
4fe3083
pre-commit
github-actions[bot] Nov 10, 2022
74eee56
Update tests-cache-require-serial.R
IndrajeetPatil Nov 10, 2022
c7f6f7b
Add lintr config file
IndrajeetPatil Nov 10, 2022
94cf76f
pre-commit
github-actions[bot] Nov 10, 2022
96f859d
Merge pull request #1057 from r-lib/1055_lintr
lorenzwalthert Nov 10, 2022
5065352
Update R/transform-files.R
IndrajeetPatil Nov 10, 2022
a6f346e
simplify if statement
IndrajeetPatil Nov 10, 2022
aa282b1
pre-commit
github-actions[bot] Nov 10, 2022
b2cb5f2
Merge branch '1014_rm_leading_blank_line' of https://github.com/r-lib…
IndrajeetPatil Nov 10, 2022
6750556
Update .Rbuildignore
IndrajeetPatil Nov 10, 2022
0af4be5
pre-commit
github-actions[bot] Nov 10, 2022
2fa41c9
Add lintr config file to Rbuildignore
IndrajeetPatil Nov 14, 2022
7b248d0
Merge pull request #1059 from r-lib/ignore_lintr_config
IndrajeetPatil Nov 14, 2022
2b66ed0
Document imports in a single file
IndrajeetPatil Nov 14, 2022
72db931
Remove some awkward spaces left behind
IndrajeetPatil Nov 14, 2022
b66dc80
Address review comments
IndrajeetPatil Nov 15, 2022
acfb42a
Merge pull request #1060 from r-lib/single_pkg_namespace
IndrajeetPatil Nov 15, 2022
969b378
Format precommit YAML files
IndrajeetPatil Nov 15, 2022
f313f3e
Merge pull request #1061 from r-lib/format_precommit_yaml
IndrajeetPatil Nov 15, 2022
1f3e72e
turn verbose warning into slick messsage and move info to docs
lorenzwalthert Nov 17, 2022
43e1048
pre-commit
github-actions[bot] Nov 17, 2022
52a3667
no mention pre-commit, different logic
lorenzwalthert Nov 18, 2022
45f25e8
don't need {usethis}
lorenzwalthert Nov 19, 2022
b74067c
pre-commit
github-actions[bot] Nov 19, 2022
8a63d95
Merge pull request #1063 from r-lib/issue-1058
IndrajeetPatil Nov 19, 2022
4f29805
Merge branch 'main' into 1014_rm_leading_blank_line
IndrajeetPatil Nov 19, 2022
34e63c4
Add `{lintr}` precommit hook
IndrajeetPatil Nov 21, 2022
4f320e3
addressing existing lints
IndrajeetPatil Nov 21, 2022
a375268
pre-commit
github-actions[bot] Nov 21, 2022
7d12439
minor formatting
IndrajeetPatil Nov 21, 2022
63df970
Merge branch '1055_lintr_precommit' of https://github.com/r-lib/style…
IndrajeetPatil Nov 21, 2022
f3dc8de
Update ui-styling.R
IndrajeetPatil Nov 21, 2022
b0eecb5
don't lint certain directories
IndrajeetPatil Nov 21, 2022
2e633ed
address implicit integer linter lints
IndrajeetPatil Nov 21, 2022
35d03a4
docs
IndrajeetPatil Nov 21, 2022
44790c8
attend to the rest of the lints
IndrajeetPatil Nov 22, 2022
209fbb7
update roxygen2 version
IndrajeetPatil Nov 22, 2022
81d100e
ignore touchstone directory for linting
IndrajeetPatil Nov 22, 2022
4c8f24e
try removing git2r; no cache
IndrajeetPatil Nov 22, 2022
4fa0801
fix error
IndrajeetPatil Nov 22, 2022
be75da3
Merge pull request #1064 from r-lib/1055_lintr_precommit
IndrajeetPatil Nov 23, 2022
bcb62e5
Merge branch 'main' into 1014_rm_leading_blank_line
IndrajeetPatil Nov 23, 2022
5d2c43b
Port over `purrr::when()`
IndrajeetPatil Nov 23, 2022
76ce30d
add missing namespace
IndrajeetPatil Nov 23, 2022
fd531d8
Replace `purrr::when()` with `if()` equivalents
IndrajeetPatil Nov 23, 2022
55e8559
Merge pull request #1066 from r-lib/port_over_when
IndrajeetPatil Nov 23, 2022
9b8acd3
Check if all examples run successfully
IndrajeetPatil Nov 24, 2022
23eada2
fix examples
IndrajeetPatil Nov 24, 2022
3ad42db
pre-commit
github-actions[bot] Nov 24, 2022
467d2f4
remove redundant `\dontrun`
IndrajeetPatil Nov 24, 2022
ee8eb81
Merge pull request #1068 from r-lib/check_examples
IndrajeetPatil Nov 24, 2022
41d70f0
Consistently use `@examplesIf` for conditionally running examples
IndrajeetPatil Nov 25, 2022
44d4787
Merge pull request #1071 from r-lib/consistent_exampleif
IndrajeetPatil Nov 25, 2022
da247ec
Update actions used by precommit
IndrajeetPatil Nov 28, 2022
97296b8
Create dependabot.yaml
IndrajeetPatil Nov 28, 2022
2638482
Merge pull request #1073 from r-lib/update_precommit-nov22
IndrajeetPatil Nov 28, 2022
d137eb6
Merge pull request #1074 from r-lib/add_dependabout
IndrajeetPatil Nov 28, 2022
6fd778d
Add GHA workflow to check for link rot
IndrajeetPatil Dec 6, 2022
55d3972
Update check-link-rot.yaml
IndrajeetPatil Dec 6, 2022
9d17b4b
remove newly caught lint
IndrajeetPatil Dec 6, 2022
3a72387
Merge pull request #1077 from r-lib/add_check_link_rot
IndrajeetPatil Dec 6, 2022
697bf76
don't comment out failing tests
IndrajeetPatil Dec 10, 2022
617c70d
Merge branch 'main' into 1014_rm_leading_blank_line
IndrajeetPatil Dec 10, 2022
b514bbf
Add more hooks to precommit config
IndrajeetPatil Dec 18, 2022
ede5fa8
Update .pre-commit-config.yaml
lorenzwalthert Dec 18, 2022
b983383
pre-commit
github-actions[bot] Dec 18, 2022
7b21085
pkgdown should be skipped in CI, as there is a GitHub Actions
lorenzwalthert Dec 18, 2022
b6bf038
pre-commit
github-actions[bot] Dec 18, 2022
0314644
Merge pull request #1080 from r-lib/precommit_more_hooks
lorenzwalthert Dec 24, 2022
26be437
ensure that line breaks ony removed for top of file
lorenzwalthert Dec 24, 2022
e177051
Merge branch 'main' into 1014_rm_leading_blank_line
lorenzwalthert Dec 24, 2022
0031d47
no pkgdown pre-commit action with GitHub Actions
lorenzwalthert Dec 24, 2022
589cbe9
add github token for frequent downloads of remotes
lorenzwalthert Dec 24, 2022
509bea1
Merge pull request #1081 from r-lib/lorenzwalthert-patch-1
IndrajeetPatil Dec 24, 2022
e143717
Merge branch 'main' into 1014_rm_leading_blank_line
IndrajeetPatil Dec 24, 2022
558326a
stylerignore sequences are always in one block
lorenzwalthert Dec 26, 2022
24c51fc
pre-commit
github-actions[bot] Dec 26, 2022
cee9d52
catch zero-token input before transformation
lorenzwalthert Dec 26, 2022
bfb33f9
Merge branch 'main' into issue-1072-2
lorenzwalthert Dec 26, 2022
99f6502
Merge pull request #1056 from r-lib/1014_rm_leading_blank_line
lorenzwalthert Dec 26, 2022
f34dc16
remove lints in tests
IndrajeetPatil Dec 26, 2022
93c60f7
rearrange list for readability
IndrajeetPatil Dec 26, 2022
348fa91
pre-commit
github-actions[bot] Dec 26, 2022
5b8061a
top level -> top-level
IndrajeetPatil Dec 26, 2022
93914e4
Merge pull request #1082 from r-lib/issue-1072-2
IndrajeetPatil Dec 26, 2022
705239e
Add test with desired output
krlmlr Dec 26, 2022
781ed8b
Add workaround
krlmlr Dec 26, 2022
dd2158d
Collateral
krlmlr Dec 26, 2022
b1f6848
Relax
krlmlr Dec 26, 2022
6ed774a
if double indented, leave it
lorenzwalthert Dec 26, 2022
1ee575c
double indention does not allow arguments on same line. to detect dou…
lorenzwalthert Dec 26, 2022
24a44b7
more tests
lorenzwalthert Dec 26, 2022
cb09801
Merge pull request #1085 from r-lib/b-1084-empty-example-lines
lorenzwalthert Dec 26, 2022
d404a4e
grammar
lorenzwalthert Dec 26, 2022
a451fb2
pre-commit
github-actions[bot] Dec 26, 2022
0b34e99
update pre-commit hooks
lorenzwalthert Dec 26, 2022
95d5469
Merge branch 'main' into issue-845
lorenzwalthert Dec 26, 2022
9f34100
Update check-link-rot.yaml
lorenzwalthert Dec 26, 2022
8d683de
Merge pull request #1086 from r-lib/no-link-rot-check-on-default
IndrajeetPatil Dec 27, 2022
f808f1c
never remove line breaks when it moves code behind a comment
lorenzwalthert Dec 27, 2022
5eaa06f
add test to fix
lorenzwalthert Dec 27, 2022
38e445d
also style examples that end without blank line or tag
lorenzwalthert Dec 27, 2022
22119ac
symmetry for opening and closing
lorenzwalthert Dec 27, 2022
2c1dfc9
Merge pull request #1089 from r-lib/issue-1067
IndrajeetPatil Dec 28, 2022
196d31a
Merge pull request #1088 from r-lib/issue-1070
IndrajeetPatil Dec 28, 2022
5b252a0
Update R/rules-indention.R
lorenzwalthert Dec 30, 2022
4487728
pre-commit
github-actions[bot] Dec 30, 2022
3c8434c
Merge pull request #1083 from r-lib/issue-845
lorenzwalthert Dec 30, 2022
e4c38bd
prepare NEWS
lorenzwalthert Jan 4, 2023
fae4ff9
increment version
lorenzwalthert Jan 4, 2023
954e460
CRAN notes
lorenzwalthert Jan 4, 2023
754739b
add PR number
lorenzwalthert Jan 4, 2023
ccb365f
fix urls
lorenzwalthert Jan 15, 2023
5d3390e
Merge pull request #1090 from r-lib/rc-1.9.0
lorenzwalthert Jan 15, 2023
6a24c73
bump to dev
lorenzwalthert Jan 15, 2023
9cb8c45
add `qmd` as supported value to `filetype` parameter
dpprdan Jan 16, 2023
8f97b81
roxygenize
IndrajeetPatil Jan 17, 2023
8208348
Merge pull request #1091 from dpprdan/fix/qmd_as_filetype
IndrajeetPatil Jan 17, 2023
3372f00
checking for double indention must be before changing the nest's newl…
lorenzwalthert Jan 29, 2023
e6fadbf
Merge pull request #1094 from r-lib/issue-1092
IndrajeetPatil Jan 30, 2023
f5d9b62
don't error no empty roxygen example
lorenzwalthert Feb 13, 2023
9c77cbf
add other example
lorenzwalthert Feb 13, 2023
2cc8117
follow up on NEWS.me
lorenzwalthert Feb 13, 2023
ac65cb6
Merge pull request #1096 from r-lib/issue-1095
lorenzwalthert Feb 14, 2023
62a9bca
add news
lorenzwalthert Feb 14, 2023
38e0b4f
add tidy thanks.
lorenzwalthert Feb 14, 2023
e6e70be
bump version
lorenzwalthert Feb 14, 2023
5c345c5
Bump actions/checkout from 2 to 3
dependabot[bot] Feb 27, 2023
e3e43a6
Merge pull request #1098 from r-lib/dependabot/github_actions/actions…
lorenzwalthert Feb 27, 2023
57bbf4e
Merge pull request #1097 from r-lib/rc-1.9.1
lorenzwalthert Mar 5, 2023
fc23728
Bump minimum needed R version to `3.6`
IndrajeetPatil Apr 1, 2023
969b5e1
pre-commit
github-actions[bot] Apr 1, 2023
3c40836
remove remaining instance of function
IndrajeetPatil Apr 1, 2023
3979efd
Bump benchmark config
lorenzwalthert Apr 4, 2023
92b3d08
Merge pull request #1104 from r-lib/touchstone-update-deps
lorenzwalthert Apr 4, 2023
99d502f
Replace usage of deprecated `rlang::with_handlers()`
IndrajeetPatil Apr 1, 2023
f0f39d7
Check benchmarks only with rlang bump
IndrajeetPatil Apr 5, 2023
db9bbed
Merge pull request #1107 from r-lib/bump-rlang-stable-release
lorenzwalthert Apr 5, 2023
2be1fd7
Merge branch 'main' into rlang-with-handlers
IndrajeetPatil Apr 5, 2023
e0b42aa
split test-public_api for better sharding
MichaelChirico Apr 7, 2023
a6518fc
0-pad filenames in anticipation of #1105
MichaelChirico Apr 7, 2023
940010d
Merge pull request #1103 from r-lib/rlang-with-handlers
lorenzwalthert Apr 16, 2023
6fefe71
Merge branch 'main' into split-test
lorenzwalthert Apr 17, 2023
2100033
Merge branch 'main' into bump-to-r36
IndrajeetPatil Apr 17, 2023
8ab417d
Remove tail recursion
krlmlr Apr 17, 2023
9702a77
Unrelated: lint
krlmlr Apr 17, 2023
0f4a215
Merge pull request #1113 from r-lib/f-repeat
lorenzwalthert Apr 17, 2023
0c4187c
Merge pull request #1109 from MichaelChirico/split-test
lorenzwalthert Apr 17, 2023
2f71190
Merge branch 'main' into split-roxygen
lorenzwalthert Apr 17, 2023
0592e8e
Merge pull request #1110 from MichaelChirico/split-roxygen
lorenzwalthert Apr 17, 2023
3170934
Add missing snapshots
krlmlr Apr 17, 2023
2f1df76
Re-add recycling to new_styler_df()
krlmlr Apr 17, 2023
90df932
Prefer vec_rbind() over bind_rows()
krlmlr Apr 17, 2023
3b08d35
Faster parse_transform_serialize_r_block()
krlmlr Apr 17, 2023
9510f3b
Prefer vec_slice() over [
krlmlr Apr 17, 2023
c3ad733
Prefer vec_split() over split()
krlmlr Apr 17, 2023
9a329c3
Tweak timings
krlmlr Apr 17, 2023
e5ecef7
Merge pull request #1115 from r-lib/f-snapshots
lorenzwalthert Apr 18, 2023
e4435d6
Prefer vec_slice() over [,, drop = FALSE]
krlmlr Apr 18, 2023
0e0619d
Merge branch 'main' into bump-to-r36
IndrajeetPatil Apr 18, 2023
15a5f5b
Merge pull request #1114 from r-lib/f-rbind
lorenzwalthert Apr 18, 2023
6045bee
Merge branch 'main' into bump-to-r36
IndrajeetPatil Apr 18, 2023
8e9ac82
Merge pull request #1101 from r-lib/bump-to-r36
lorenzwalthert Apr 24, 2023
9ded282
delete cache directories if empty
lorenzwalthert May 19, 2023
d874d9b
show dir
lorenzwalthert May 19, 2023
f51cb26
normalise for regex check
lorenzwalthert May 19, 2023
c359f56
also match any temp dir that was used in R CMD check
lorenzwalthert May 19, 2023
5989a17
use absolute paths for test
lorenzwalthert May 19, 2023
e5e9b37
R < 4 does not have tools::R_user_dir(), so skip check
lorenzwalthert May 19, 2023
47f1b45
show all env variables to maybe just rely on them to find temp dir on…
lorenzwalthert May 20, 2023
c476334
derive temp directory from env variable
lorenzwalthert May 20, 2023
db26b5f
fail on error only for R > 3.6 since `tools::R_user_dir()` was introd…
lorenzwalthert May 20, 2023
f6b6b3b
rename and document
lorenzwalthert May 22, 2023
ed16b6e
R 3.6 produces a note, so can fail on warning, not just error
lorenzwalthert May 22, 2023
1584683
Merge pull request #1119 from r-lib/fix-cran
lorenzwalthert May 24, 2023
bedf689
add news
lorenzwalthert May 22, 2023
7fddf1b
bump version
lorenzwalthert May 22, 2023
f2ba102
update R versions checked for
lorenzwalthert May 22, 2023
21c764f
give context and simplify news
lorenzwalthert May 24, 2023
c1730b5
after revdepcheck
lorenzwalthert May 24, 2023
6313d85
Merge pull request #1120 from r-lib/rc-1.10.0
lorenzwalthert May 24, 2023
fdb7580
bump dev
lorenzwalthert May 24, 2023
c79f281
rm assert_data.tree_installation()
olivroy May 24, 2023
9747ba9
Adding explanation of parallel testing.
olivroy May 24, 2023
8e61333
Explicitely require prettycode to avoid snapshot change.
olivroy May 24, 2023
3900d31
Cosmetic code change. This message could benefit to being converted t…
olivroy May 24, 2023
1180c41
Using the handy `.internal = TRUE` of `rlang::abort()`
olivroy May 24, 2023
7aa0057
Use `rlang::check_installed()`
olivroy May 24, 2023
28b5d06
Add 2 missing skip_if_not_installed("data.tree")
olivroy May 24, 2023
250c251
Bump JamesIves/github-pages-deploy-action from 4.4.1 to 4.4.2
dependabot[bot] May 29, 2023
16d2510
Merge pull request #1122 from olivroy/error-links
lorenzwalthert May 29, 2023
aeaa1fa
Merge pull request #1123 from r-lib/dependabot/github_actions/JamesIv…
lorenzwalthert May 29, 2023
b6a750d
fix calculation of temp_dir in delete_if_cache_directory()
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q Jun 1, 2023
e8836fd
Merge pull request #1126 from 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q/fix/#1125
lorenzwalthert Jun 1, 2023
975fefd
Use cli messaging for cache
olivroy Jun 2, 2023
d820912
Improve other warning or error messages
olivroy Jun 3, 2023
015874f
Fix failing test.
olivroy Jun 3, 2023
d71e2cc
Merge pull request #1127 from olivroy/patch-1
lorenzwalthert Jun 3, 2023
7c64a26
deactivate cache for all vignettes
lorenzwalthert May 29, 2023
a2b9d11
move cache clearning into separate test file that is ran at the end.
lorenzwalthert May 29, 2023
611c689
use more concise timeout
lorenzwalthert May 29, 2023
98127c7
fix errors
lorenzwalthert May 29, 2023
c51956f
update cran comments
lorenzwalthert May 29, 2023
82dcfe3
pre-commit
github-actions[bot] May 29, 2023
fc5a61d
go to bleeding edge
lorenzwalthert May 29, 2023
b1d4793
no partial matching
lorenzwalthert May 30, 2023
8f839e6
Merge pull request #1124 from r-lib/rc-1.10.1
lorenzwalthert Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 20 additions & 11 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
^.*-in_tree$
^.*\.Rproj$
^\.Rproj\.user$
^API$
^README\.Rmd$
^CONTRIBUTING\.md$
^LICENSE\.md$
^Meta$
^README-.*\.png$
^.travis.yml
^appveyor\.yml$
^tic\.R$
^\.travis\.yml$
^docs$
^_pkgdown\.yml$
CONTRIBUTING.md
^README\.Rmd$
^\.Rproj\.user$
^\.github$
^\.gitsum$
^gitsum$

^\.lintr$
^\.pre-commit-config\.yaml$
^_pkgdown\.yaml$
^cran-comments\.md$
^doc$
^docs$
^gitsum$
^inst/WORDLIST$
^inst/hooks/.*$
^revdep$
^tests/testmanual$
^tic\.R$
^touchstone$
^vignettes/gsoc_proposal$
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tests/testthat/**/*_tree linguist-generated=true
tests/testthat/**/*_tree linguist-generated=true
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
8 changes: 8 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2

updates:
# Keep dependencies for GitHub Actions up-to-date
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
42 changes: 42 additions & 0 deletions .github/workflows/check-all-examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Make sure all examples run successfully, even the ones that are not supposed
# to be run or tested on CRAN machines by default.
#
# The examples that fail should use
# - `if (FALSE) { ... }` (if example is included only for illustrative purposes)
# - `try({ ... })` (if the intent is to show the error)
#
# This workflow helps find such failing examples that need to be modified.

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-all-examples

jobs:
check-all-examples:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: |
any::devtools
local::.

- name: Run examples
run: |
options(crayon.enabled = TRUE)
devtools::run_examples(fresh = TRUE, run_dontrun = TRUE, run_donttest = TRUE)
shell: Rscript {0}
61 changes: 61 additions & 0 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}

- {os: windows-latest, r: 'release'}
# Use 3.6 to trigger usage of RTools35
- {os: windows-latest, r: '3.6'}
# use 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: '4.1'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
- {os: ubuntu-latest, r: 'oldrel-2'}
- {os: ubuntu-latest, r: 'oldrel-3'}
- {os: ubuntu-latest, r: 'oldrel-4'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
error-on: 'ifelse(getRversion() > 3.6, "warning", "note")'
env:
_R_CHECK_FORCE_SUGGESTS_: false
43 changes: 43 additions & 0 deletions .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
on:
pull_request:
branches: [main, master]
schedule:
# * is a special character in YAML so you have to quote this string
# Trigger once a month at 00:00 on the 1st day of the month.
- cron: "0 0 1 * *"

name: check-link-rot

jobs:
check-link-rot:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: "devel"
http-user-agent: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: |
any::rcmdcheck
any::urlchecker

- name: Run URL checker
run: |
options(crayon.enabled = TRUE)
rotten_links <- urlchecker::url_check(progress = FALSE)
print(rotten_links)
if (length(rotten_links$URL) > 0L) {
stop("Some URLs are outdated and need to be updated.", call. = FALSE)
}
shell: Rscript {0}
46 changes: 46 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
58 changes: 58 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: pre-commit
on:
push:
branches-ignore:
- "master"
- "main"
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

jobs:
pre-commit:
runs-on: ubuntu-latest
if: >-
!contains(github.event.head_commit.message, 'ci skip') &&
(
startsWith(github.ref, 'refs/heads') ||
github.event.pull_request.draft == false
)
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
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@v4
with:
python-version: "3.9"
architecture: "x64"
- name: Run pre-commit
uses: pre-commit/[email protected]
env:
SKIP: pkgdown
- name: Commit files
if: failure() && startsWith(github.ref, 'refs/heads')
run: |
if [[ `git status --porcelain --untracked-files=no` ]]; then
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout -- .github/workflows
git commit -m "pre-commit" -a
fi
- name: Push changes
if: failure() && startsWith(github.ref, 'refs/heads')
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
env:
RENV_CONFIG_CACHE_ENABLED: FALSE
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: test-coverage

jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
needs: coverage

- name: Test coverage
run: covr::codecov(quiet = FALSE)
shell: Rscript {0}
22 changes: 22 additions & 0 deletions .github/workflows/touchstone-comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Continuous Benchmarks (Comment)

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

on:
workflow_run:
workflows: ["Continuous Benchmarks (Receive)"]
types:
- completed

jobs:
upload:
runs-on: ubuntu-latest
if: >
${{ github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: lorenzwalthert/touchstone/actions/comment@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading