Skip to content
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

Benchmark / diffview against CRAN release v1.10.0 #868

Draft
wants to merge 291 commits into
base: v1.10.1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
291 commits
Select commit Hold shift + click to select a range
07d9391
Bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0
dependabot[bot] Oct 9, 2023
c38d7f9
Merge pull request #1152 from r-lib/dependabot/github_actions/styfle/…
IndrajeetPatil Oct 9, 2023
3a13ef6
Merge branch 'main' into patch-3
MichaelChirico Nov 6, 2023
edf399c
Merge pull request #1129 from MichaelChirico/patch-3
lorenzwalthert Nov 24, 2023
f9a9bbd
update lintr config file and clean new lints
IndrajeetPatil Dec 3, 2023
4f5e30a
clean more nesting issues
IndrajeetPatil Dec 3, 2023
0daaede
clean keyword and brace related lints
IndrajeetPatil Dec 3, 2023
f8a12b6
pre-commit
github-actions[bot] Dec 3, 2023
1288ccc
move generation script to `tests/dev` folder
IndrajeetPatil Dec 3, 2023
a1589a4
Merge branch 'main' into split-roxygen-exec
IndrajeetPatil Dec 3, 2023
d835b15
Delete unused snapshot
IndrajeetPatil Dec 3, 2023
ae7b351
Delete URL check workflow
IndrajeetPatil Dec 3, 2023
2218546
Merge pull request #1158 from r-lib/clean-lints-dec23
IndrajeetPatil Dec 3, 2023
05c76f4
Merge branch 'main' into split-roxygen-exec
IndrajeetPatil Dec 3, 2023
87fc452
Merge branch 'main' into delete-url-check-workflow
IndrajeetPatil Dec 3, 2023
4060db4
Merge branch 'main' into delete-unneeded-snapshot
IndrajeetPatil Dec 3, 2023
f4f61d9
Merge pull request #1160 from r-lib/delete-url-check-workflow
lorenzwalthert Dec 3, 2023
ce89aef
Merge pull request #1159 from r-lib/delete-unneeded-snapshot
IndrajeetPatil Dec 3, 2023
d6fee24
Merge pull request #1111 from MichaelChirico/split-roxygen-exec
IndrajeetPatil Dec 3, 2023
30bee53
Update roxygen test comments
IndrajeetPatil Dec 3, 2023
1c58646
correct relative path to the root
IndrajeetPatil Dec 3, 2023
dc606ef
Remove outdated test about repeated parsing
IndrajeetPatil Dec 3, 2023
cfcdb48
Merge pull request #1162 from r-lib/fix-roxy-test-comments
lorenzwalthert Dec 3, 2023
26eb4fa
Merge pull request #1163 from r-lib/rm-reparsing-test
lorenzwalthert Dec 3, 2023
cbe4769
Clean up unnecessary YAML front matter in README
IndrajeetPatil Dec 3, 2023
62c4800
Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0
dependabot[bot] Dec 4, 2023
b70d75c
Merge pull request #1164 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Dec 4, 2023
ee2b7c8
Fix new lints about implicit return
IndrajeetPatil Dec 4, 2023
ff8f6a3
retain Visual editor relevant fields in YAML
IndrajeetPatil Dec 4, 2023
cb33e89
Merge pull request #1166 from r-lib/fix-return-lints
lorenzwalthert Dec 5, 2023
385e316
Merge branch 'main' into reknit-readme
IndrajeetPatil Dec 5, 2023
10efce2
Merge pull request #1165 from r-lib/reknit-readme
lorenzwalthert Dec 5, 2023
aac55d7
suppress warning in test-io
IndrajeetPatil Dec 8, 2023
4c2c0ab
relax benchmarking test
IndrajeetPatil Dec 8, 2023
ebe4997
Merge pull request #1169 from r-lib/fix-test-io-warning
IndrajeetPatil Dec 8, 2023
3736761
Bump actions/setup-python from 4 to 5
dependabot[bot] Dec 11, 2023
e987d7a
Merge pull request #1171 from r-lib/dependabot/github_actions/actions…
lorenzwalthert Dec 11, 2023
60b19a4
initial sticker draft
IndrajeetPatil Dec 22, 2023
07b97d6
pre-commit
github-actions[bot] Dec 22, 2023
c87fa25
store logo in manual and use it in README
IndrajeetPatil Dec 22, 2023
9d9c54d
pre-commit
github-actions[bot] Dec 22, 2023
a49105a
update pre-commit
lorenzwalthert Jan 7, 2024
b21f37b
ignore os specific files
lorenzwalthert Jan 7, 2024
f798716
regenerate logo with different icon and colors
lorenzwalthert Jan 7, 2024
8cc958d
re-run spell-check
lorenzwalthert Jan 7, 2024
1673a3a
render readme, fix script
lorenzwalthert Jan 7, 2024
f8ddcf6
move hextools to inst
lorenzwalthert Jan 7, 2024
60e6538
build favicons; use devel-lintr
IndrajeetPatil Jan 13, 2024
6ae5029
pre-commit
github-actions[bot] Jan 13, 2024
b82dd61
fix infix operator imports
IndrajeetPatil Jan 13, 2024
4ec583d
fix new lint
IndrajeetPatil Jan 13, 2024
17f91fc
Merge pull request #1172 from r-lib/add-sticker
IndrajeetPatil Jan 13, 2024
2b2980d
Include sticker on the website
IndrajeetPatil Jan 14, 2024
96b469b
Update hexsticker.R
IndrajeetPatil Jan 14, 2024
71d4133
don't use code formatting for package name
IndrajeetPatil Jan 17, 2024
369e14f
Merge pull request #1173 from r-lib/upgrade-bs-5
IndrajeetPatil Jan 17, 2024
ffe79c1
Set to dev version
lorenzwalthert Jan 18, 2024
5a569d3
Bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1
dependabot[bot] Jan 29, 2024
7c062fa
bump roxygen2 version
IndrajeetPatil Jan 29, 2024
dbaa169
Merge pull request #1175 from r-lib/dependabot/github_actions/styfle/…
IndrajeetPatil Jan 29, 2024
b6a535f
Better error message for `scope_normalize()`
olivroy Jan 31, 2024
a89eeb5
Correct cli abort calls
olivroy Jan 31, 2024
5f4d9e7
Correct tests
olivroy Jan 31, 2024
4b999fb
restyle
olivroy Jan 31, 2024
9dd32bf
Use arg_match0 for simple cases
olivroy Feb 1, 2024
d42a17a
Use lowercase qmd in arguments
olivroy Feb 1, 2024
8d23770
Address comments
olivroy Feb 1, 2024
2bb93a4
Cosmetic change of package doc
olivroy Feb 1, 2024
775c399
Merge pull request #1176 from olivroy/scope
IndrajeetPatil Feb 2, 2024
e649f18
Bump pre-commit/action from 3.0.0 to 3.0.1
dependabot[bot] Feb 12, 2024
20c5b37
Merge pull request #1177 from r-lib/dependabot/github_actions/pre-com…
IndrajeetPatil Feb 12, 2024
b688f08
update pre-commit config
lorenzwalthert Mar 18, 2024
39a35ea
also upload results in GHA for R CMD check
IndrajeetPatil Mar 18, 2024
12c88a4
check with newer error message
IndrajeetPatil Mar 21, 2024
89ea11a
cover older versions as well
IndrajeetPatil Mar 21, 2024
8d70633
undo unrelated upload
lorenzwalthert Mar 21, 2024
634dce1
Merge pull request #1181 from r-lib/issue-1180
lorenzwalthert Mar 21, 2024
48e8ab1
prepare release
lorenzwalthert Mar 24, 2024
fd5b4ab
bump dependency number
lorenzwalthert Mar 25, 2024
2e00803
Add color to log
olivroy Mar 27, 2024
2489092
style
olivroy Mar 27, 2024
208d9c7
Merge pull request #1187 from olivroy/color
IndrajeetPatil Mar 27, 2024
54df59b
wrap in try-fetch to see if we can avoid onload error
lorenzwalthert Apr 7, 2024
ff23a18
Merge pull request #1183 from r-lib/rc-1.10.3
lorenzwalthert Apr 8, 2024
9416b3b
bump to devel version
lorenzwalthert Apr 8, 2024
4673919
docs: Document package options
IndrajeetPatil Apr 21, 2024
b1d0815
also include defaults
IndrajeetPatil Apr 21, 2024
040eeed
address feedback
IndrajeetPatil Apr 21, 2024
932437b
Merge pull request #1193 from r-lib/1185-docs-options
lorenzwalthert Apr 21, 2024
71f230b
Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0
dependabot[bot] Apr 22, 2024
f5744da
Merge pull request #1194 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Apr 22, 2024
1057135
initial work on remove blank lines before and after braces
IndrajeetPatil May 1, 2024
47b7da7
pre-commit
github-actions[bot] May 1, 2024
0fcbc96
add tests for LBB
IndrajeetPatil May 1, 2024
9464800
more tests
IndrajeetPatil May 1, 2024
280b272
bandaid
IndrajeetPatil May 1, 2024
8b8ed19
Bump minimum needed R version to 4.0
IndrajeetPatil May 5, 2024
6a98580
update parser version
IndrajeetPatil May 5, 2024
1c7fc4d
Update lintr config
IndrajeetPatil May 5, 2024
d4c75d1
clean new lint
IndrajeetPatil May 5, 2024
4f8cb59
Update environments.R
IndrajeetPatil May 5, 2024
6a82a55
pre-commit
github-actions[bot] May 5, 2024
1a3ef50
Update style-guides.R
IndrajeetPatil May 5, 2024
e051e81
fix lints
IndrajeetPatil May 5, 2024
ed8b058
Update .pre-commit-config.yaml
IndrajeetPatil May 5, 2024
4b24ff6
Merge pull request #1197 from r-lib/r-440
IndrajeetPatil May 6, 2024
b687296
Merge branch 'main' into f1032-remove-blank-lines-after-and-before-pa…
IndrajeetPatil May 6, 2024
7476b94
Add Indrajeet as author
lorenzwalthert May 6, 2024
6deb858
pre-commit
github-actions[bot] May 6, 2024
29e48c5
Update check-full.yaml
IndrajeetPatil May 6, 2024
c68e13b
try different locale
IndrajeetPatil May 6, 2024
daf6ca6
break the unicode test into two
IndrajeetPatil May 6, 2024
f3ab50f
Update check-full.yaml
IndrajeetPatil May 6, 2024
8f4bda9
include tests with comments; remove strict param
IndrajeetPatil May 7, 2024
f973b4b
Complete third-party style guide documentation
lorenzwalthert May 8, 2024
853f2ff
Update vignettes/distribute_custom_style_guides.Rmd
lorenzwalthert May 8, 2024
5d5353e
pre-commit
github-actions[bot] May 8, 2024
d0b47dc
Merge pull request #1201 from r-lib/lorenzwalthert-patch-2
lorenzwalthert May 8, 2024
87cf568
just create one step and make sure it works as expected
IndrajeetPatil May 9, 2024
93718ef
pre-commit
github-actions[bot] May 9, 2024
15cf8f5
fixes set locale step?
IndrajeetPatil May 9, 2024
9a728df
also cover the case when locale is missing
IndrajeetPatil May 9, 2024
bdc911e
fall back to the working solution
IndrajeetPatil May 9, 2024
83de14c
comment out chinese locale
IndrajeetPatil May 9, 2024
99afa8d
Merge pull request #1200 from r-lib/check-win-devel-stringi-install
IndrajeetPatil May 9, 2024
304792d
Merge branch 'main' into f1032-remove-blank-lines-after-and-before-pa…
IndrajeetPatil May 10, 2024
2df29fb
create new transformers for removing empty lines
IndrajeetPatil May 11, 2024
e0e2ed4
better naming
IndrajeetPatil May 11, 2024
226615d
add tests with pipes
IndrajeetPatil May 11, 2024
0d67987
also add tests for roxygen comments
IndrajeetPatil May 11, 2024
1b9567b
Update touchstone config
IndrajeetPatil May 11, 2024
2823db4
Fix `paste_linter()` lints
IndrajeetPatil May 11, 2024
4ec2a1f
Merge pull request #1204 from r-lib/clean-new-lints
IndrajeetPatil May 11, 2024
0f9625a
Merge pull request #1203 from r-lib/update-touchstone-config
IndrajeetPatil May 11, 2024
1f60831
Merge branch 'main' into f1032-remove-blank-lines-after-and-before-pa…
IndrajeetPatil May 11, 2024
d1fb41e
run on R-release on Ubuntu
IndrajeetPatil May 11, 2024
a7056be
remove non-existing token
IndrajeetPatil May 11, 2024
d727ea6
Update .pre-commit-config.yaml
IndrajeetPatil May 12, 2024
e66bcf1
Merge pull request #1205 from r-lib/update-precommit-version
lorenzwalthert May 12, 2024
7cd15ca
Use `all_linters()` instead of using tags
IndrajeetPatil May 12, 2024
4f78252
Merge pull request #1207 from r-lib/turn-on-all-linters
IndrajeetPatil May 12, 2024
1e4b63d
Merge branch 'main' into f1032-remove-blank-lines-after-and-before-pa…
IndrajeetPatil May 12, 2024
575360f
Don't store code tree structures in tests
IndrajeetPatil May 13, 2024
e744159
use only a single transformer
IndrajeetPatil May 14, 2024
2a98c4d
Update strict.Rmd
IndrajeetPatil May 14, 2024
8cc390e
Use Bootstrap 5 template for pkgdown website
IndrajeetPatil May 14, 2024
67f8c53
Update _pkgdown.yaml
IndrajeetPatil May 14, 2024
077ca45
Update spelling wordlist
IndrajeetPatil May 14, 2024
0c4a0b6
pre-commit
github-actions[bot] May 14, 2024
dd05981
correct actual spelling mistakes
IndrajeetPatil May 14, 2024
4b12010
add a test that mixes LBB with (
IndrajeetPatil May 15, 2024
0a1c8b6
also add test for mixing `[ `and `(`
IndrajeetPatil May 15, 2024
8c93aaf
Update pre-commit.yaml
IndrajeetPatil May 15, 2024
671f3f4
Update pre-commit.yaml
IndrajeetPatil May 15, 2024
b480577
Revert "Update pre-commit.yaml"
IndrajeetPatil May 15, 2024
18bae50
Update pre-commit.yaml
IndrajeetPatil May 15, 2024
64a422f
Remove unused testing helper: `generate_test_samples()`
IndrajeetPatil May 15, 2024
156b6d0
Delete generate_test_samples.Rd
IndrajeetPatil May 15, 2024
1088ede
Merge pull request #1208 from r-lib/f1206-no-code-tree-structure
IndrajeetPatil May 19, 2024
f9d4ab4
merge with main
IndrajeetPatil May 19, 2024
d764e78
Remove unused internal utility: `calls_sys()`
IndrajeetPatil May 19, 2024
e53df77
Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1
dependabot[bot] May 20, 2024
5966924
Merge pull request #1214 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil May 20, 2024
4256522
Merge pull request #1213 from r-lib/rm-calls-sys
lorenzwalthert May 20, 2024
6db6eff
Merge pull request #1195 from r-lib/f1032-remove-blank-lines-after-an…
IndrajeetPatil May 20, 2024
cb6f544
Use stable version of `{purrrr}`
IndrajeetPatil May 23, 2024
9e9d8ec
remove unused `arrange()`
IndrajeetPatil May 23, 2024
3394099
Merge pull request #1212 from r-lib/rm-generate_test_samples
IndrajeetPatil May 23, 2024
ad1cac1
Merge pull request #1215 from r-lib/use-stable-purrr
IndrajeetPatil May 23, 2024
d07e4d3
Merge pull request #1210 from r-lib/rm-nonexistent-vignette-refs
IndrajeetPatil May 23, 2024
9849bcf
also include website in pkgdown footer
IndrajeetPatil May 24, 2024
56b534e
Merge branch 'main' into lorenzwalthert-patch-1
IndrajeetPatil May 24, 2024
9b46ad8
pre-commit
github-actions[bot] May 24, 2024
e19a8fd
Merge pull request #1198 from r-lib/lorenzwalthert-patch-1
IndrajeetPatil May 24, 2024
445bf3e
Merge pull request #1209 from r-lib/bootstrap-5-pkgdown
IndrajeetPatil May 24, 2024
a09c467
Refactor `parse_safely for a better stack trace
olivroy Jun 13, 2024
6832a8e
Use `withCallingHandlers()` for performance
olivroy Jun 13, 2024
e4388a1
Add a clickable link to path when warning.
olivroy Jun 13, 2024
90717a8
Fix typo
olivroy Jun 13, 2024
c6944ab
try it this way for precommit
olivroy Jun 13, 2024
790d45b
Merge pull request #1216 from olivroy/cli-links
IndrajeetPatil Jun 15, 2024
434cbc5
Turn off `strings_as_factors_linter()`
IndrajeetPatil Jun 15, 2024
7b5327c
Merge pull request #1217 from r-lib/saf
IndrajeetPatil Jun 15, 2024
e19bc2c
Check examples with stricter settings
IndrajeetPatil Jun 29, 2024
27a07d5
Create check-test-warnings.yaml
IndrajeetPatil Jul 1, 2024
eb2ee13
Bump JamesIves/github-pages-deploy-action from 4.6.1 to 4.6.3
dependabot[bot] Jul 8, 2024
95019dd
Merge pull request #1222 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Jul 8, 2024
efdd61c
Bump actions/setup-python from 5.1.0 to 5.1.1
dependabot[bot] Jul 15, 2024
6d2f0b3
Merge pull request #1223 from r-lib/dependabot/github_actions/actions…
IndrajeetPatil Jul 15, 2024
7eff367
Bump actions/setup-python from 5.1.1 to 5.2.0
dependabot[bot] Sep 2, 2024
5458fa0
Merge pull request #1227 from r-lib/dependabot/github_actions/actions…
IndrajeetPatil Sep 2, 2024
134f41c
Bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4
dependabot[bot] Sep 9, 2024
4665f2d
Merge pull request #1228 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Sep 9, 2024
1e5e127
feat: * Add support for webr code chunks in Rmd/qmd documents
wurli Sep 19, 2024
dc08277
fix: styler CI
wurli Sep 19, 2024
b477757
Merge pull request #1229 from wurli/main
lorenzwalthert Sep 20, 2024
8c5132f
Bump JamesIves/github-pages-deploy-action from 4.6.4 to 4.6.8
dependabot[bot] Sep 30, 2024
08d11e1
Merge pull request #1230 from r-lib/dependabot/github_actions/JamesIv…
lorenzwalthert Sep 30, 2024
9d076fc
empty curly have no spaces
lorenzwalthert Oct 6, 2024
e1455c6
whenver ther is an empty brace expression, remove line breaks
lorenzwalthert Oct 8, 2024
faa0558
Merge pull request #1234 from r-lib/empty-curly
lorenzwalthert Oct 9, 2024
b153445
Adapt to single indent semantics in style guide
krlmlr Oct 19, 2024
5e5eb3a
Adapt tests
krlmlr Oct 19, 2024
8b9a4a0
double -> single
krlmlr Oct 19, 2024
26fa965
Bump actions/setup-python from 5.2.0 to 5.3.0
dependabot[bot] Oct 28, 2024
3dd9ec3
Merge pull request #1236 from r-lib/dependabot/github_actions/actions…
IndrajeetPatil Oct 28, 2024
87313c7
Bump JamesIves/github-pages-deploy-action from 4.6.8 to 4.6.9
dependabot[bot] Nov 11, 2024
d50fc86
Merge pull request #1237 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Nov 11, 2024
ff785ea
rename for consistency
lorenzwalthert Nov 24, 2024
fa9d9f4
Merge pull request #1235 from r-lib/f-single-indent
lorenzwalthert Nov 25, 2024
3f34715
Merge branch 'main' into strict-examples
IndrajeetPatil Nov 28, 2024
2530f99
Add rule to reduce blank lines between scopes
IndrajeetPatil Nov 28, 2024
86daefa
pre-commit
github-actions[bot] Nov 28, 2024
287c756
fix
IndrajeetPatil Nov 28, 2024
2ed0197
pre-commit
github-actions[bot] Nov 28, 2024
23eb8a3
add tests
IndrajeetPatil Nov 28, 2024
1166e3b
update precommit
IndrajeetPatil Nov 28, 2024
a2014dc
address review feedback
IndrajeetPatil Nov 30, 2024
35cd8a9
pre-commit
github-actions[bot] Nov 30, 2024
5705339
another test
IndrajeetPatil Nov 30, 2024
181ccea
Update WORDLIST
IndrajeetPatil Nov 30, 2024
7260ff9
pre-commit
github-actions[bot] Nov 30, 2024
173d397
consolidate into an existing check
IndrajeetPatil Nov 30, 2024
8fb3d27
check with devel spelling
IndrajeetPatil Nov 30, 2024
e89e65b
pre-commit
github-actions[bot] Nov 30, 2024
5aa0699
Update .pre-commit-config.yaml
IndrajeetPatil Nov 30, 2024
94225ae
Merge pull request #1219 from r-lib/strict-examples
IndrajeetPatil Nov 30, 2024
59c3d34
Merge pull request #1240 from r-lib/update-wordlist-nov24
IndrajeetPatil Nov 30, 2024
ab6cb64
address feedback
IndrajeetPatil Nov 30, 2024
62c29dd
Merge branch 'main' into rm-line-breaks-between-funs
IndrajeetPatil Nov 30, 2024
5b598ec
Bump JamesIves/github-pages-deploy-action from 4.6.9 to 4.7.1
dependabot[bot] Dec 2, 2024
73fd5a6
Merge pull request #1242 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Dec 2, 2024
7dc83ba
make name of transformer more similar to existing ones
lorenzwalthert Dec 2, 2024
a59d4bb
pre-commit
github-actions[bot] Dec 2, 2024
e843fd5
create a new test collection instead of modifying existing tests
IndrajeetPatil Dec 3, 2024
127588a
pre-commit
github-actions[bot] Dec 3, 2024
7848039
correct non-strict mode test
IndrajeetPatil Dec 3, 2024
6b5a4c5
Merge branch 'rm-line-breaks-between-funs' of https://github.com/r-li…
IndrajeetPatil Dec 3, 2024
2f1cc9b
Merge pull request #1239 from r-lib/rm-line-breaks-between-funs
IndrajeetPatil Dec 4, 2024
e4da5ae
Remove spaces around dollar operator
IndrajeetPatil Dec 7, 2024
bf5c500
fix
IndrajeetPatil Dec 7, 2024
c637dc0
Merge pull request #1246 from r-lib/rm-space-around-dollar
IndrajeetPatil Dec 8, 2024
53ce031
Bump JamesIves/github-pages-deploy-action from 4.7.1 to 4.7.2
dependabot[bot] Dec 9, 2024
4f1d0c0
Merge pull request #1247 from r-lib/dependabot/github_actions/JamesIv…
IndrajeetPatil Dec 9, 2024
0d4cc51
Use `expect_no_warning()`
IndrajeetPatil Dec 9, 2024
4e3bc30
Merge pull request #1248 from r-lib/use-expect-no-warning
IndrajeetPatil Dec 9, 2024
9123afe
Improve a few function names
IndrajeetPatil Dec 9, 2024
ba3fe63
Merge pull request #1249 from r-lib/rename-for-clarity
IndrajeetPatil Dec 9, 2024
c320dc4
Remove unused `extend_if_comment()`
IndrajeetPatil Dec 10, 2024
84f250a
Merge pull request #1250 from r-lib/rm-unused-helpers
IndrajeetPatil Dec 11, 2024
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
^README-.*\.png$
^README\.Rmd$
^\.Rproj\.user$
^\.dev$
^\.github$
^\.gitsum$
^\.lintr$
Expand All @@ -16,8 +17,11 @@
^doc$
^docs$
^gitsum$
^hextools
^inst/WORDLIST$
^inst/hextools$
^inst/hooks/.*$
^pkgdown$
^revdep$
^tests/testmanual$
^tic\.R$
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/check-all-examples.yaml

This file was deleted.

43 changes: 29 additions & 14 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,45 @@ jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

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

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

- {os: windows-latest, r: 'release'}
# Use 3.6 to trigger usage of RTools35
- {os: windows-latest, r: '3.6'}
- { os: windows-latest, r: "devel" }
- { os: windows-latest, r: "release" }
# use 4.1 to check with rtools40's older compiler
- {os: windows-latest, r: '4.1'}
- { 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'}
- { os: ubuntu-latest, r: "devel", locale: "en_US", http-user-agent: "release" }
#- { os: ubuntu-latest, r: "release", locale: "zh_CN" }
- { 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
- name: Set 'en_US' locale
if: matrix.config.locale == 'en_US'
run: |
sudo locale-gen en_US
echo "LC_ALL=en_US" >> $GITHUB_ENV

- name: Set 'zh_CN' locale
if: matrix.config.locale == 'zh_CN'
run: |
sudo locale-gen zh_CN
echo "LC_ALL=zh_CN" >> $GITHUB_ENV

- uses: actions/checkout@v4

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

Expand All @@ -50,12 +62,15 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: "TRUE"
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")'
error-on: '"note"'
env:
_R_CHECK_FORCE_SUGGESTS_: false
_R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_: true
43 changes: 0 additions & 43 deletions .github/workflows/check-link-rot.yaml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/check-no-warnings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# execute all examples and tests with warnings turned into errors to look for new warnings
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-no-warnings

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

steps:
- uses: actions/checkout@v4

- 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, warn = 2L)
devtools::run_examples(fresh = TRUE, run_dontrun = TRUE, run_donttest = TRUE)
shell: Rscript {0}

- name: Run Tests
run: |
options(crayon.enabled = TRUE)
pkgload::load_all()
# this workaround needed to play nicely with parallel testing
# see: https://github.com/r-lib/testthat/issues/1912
test_script_paths <- testthat::find_test_scripts("tests/testthat")
test_with_warning_as_error <- function(path) {
withr::local_options(list(warn = 2L))
testthat::test_file(path, stop_on_failure = TRUE, stop_on_warning = TRUE)
}
purrr::walk(test_script_paths, test_with_warning_as_error)
shell: Rscript {0}
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand All @@ -39,7 +39,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.2
uses: JamesIves/github-pages-deploy-action@v4.7.2
with:
clean: false
branch: gh-pages
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,20 @@ jobs:
)
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- 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@v4
uses: actions/setup-python@v5.3.0
with:
python-version: "3.9"
architecture: "x64"
- name: Run pre-commit
uses: pre-commit/action@v3.0.0
env:
uses: pre-commit/action@v3.0.1
env:
SKIP: pkgdown
- name: Commit files
if: failure() && startsWith(github.ref, 'refs/heads')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/touchstone-receive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
config: ${{ steps.read_touchstone_config.outputs.config }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
.DS_Store
.RData
.Rhistory
.Rproj.user
.gitsum
.vscode
Meta
R/scratch
README.html
doc
docs
gitsum
inst/doc
revdep/
!revdep/*.md
!revdep/problems.md
tests/testthat/*/*-in_tree
touchstone/*
!touchstone/config.json
!touchstone/script.R
52 changes: 26 additions & 26 deletions .lintr
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
linters: linters_with_defaults(
commented_code_linter = NULL,
cyclocomp_linter = cyclocomp_linter(40),
fixed_regex_linter = NULL,
function_argument_linter = NULL,
indentation_linter = NULL,
line_length_linter(120),
namespace_linter = NULL,
nested_ifelse_linter = NULL,
object_name_linter = NULL,
object_length_linter(70),
object_usage_linter = NULL,
todo_comment_linter = NULL,
extraction_operator_linter = NULL,
nonportable_path_linter = NULL,
string_boundary_linter = NULL,
undesirable_function_linter = NULL,
undesirable_operator_linter = NULL,
defaults = linters_with_tags(tags = NULL)
)
linters: all_linters(
commented_code_linter = NULL,
cyclocomp_linter = cyclocomp_linter(40),
fixed_regex_linter = NULL,
function_argument_linter = NULL,
indentation_linter = NULL,
line_length_linter(120L),
namespace_linter = NULL,
nzchar_linter = NULL,
object_name_linter = NULL,
object_length_linter(70L),
object_overwrite_linter = NULL,
object_usage_linter = NULL,
todo_comment_linter = NULL,
nonportable_path_linter = NULL,
string_boundary_linter = NULL,
strings_as_factors_linter = NULL, # since we use R >= 4.0
undesirable_function_linter = NULL,
undesirable_operator_linter = NULL
)
exclusions: list(
"inst",
"man",
"tests",
"touchstone",
"vignettes"
)
"inst",
"man",
"tests",
"touchstone",
"vignettes"
)
Loading
Loading