-
Notifications
You must be signed in to change notification settings - Fork 39
Refactor method-dispatch.c
#483
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
a9f6821
Refactor `method-dispatch.c`
t-kalinowski 0dc18e7
(try to) run rchk in CI
t-kalinowski e86a8d9
refactor `method_call_`
t-kalinowski 317ed85
rewrite rchk action
t-kalinowski 0488512
remove unused `is_missing()` C function.
t-kalinowski 31ae5cb
print rchk.log in CI
t-kalinowski e4f3f52
pass generic dispatch args as named arg to methods
t-kalinowski b16fbcc
use `APPEND_NODE` helper
t-kalinowski d061269
use `CALLDEF` macro
t-kalinowski 6f4ae26
remove `PRCODE` and `SET_PRVALUE` usage
t-kalinowski 455f3c4
add `class_missing` dispatch tests
t-kalinowski eba69a0
copyedit comment
t-kalinowski e0e3f0a
avoid unnecessary allocation
t-kalinowski 6a5fb06
fix/enable commented test case
t-kalinowski 219930f
add tests
t-kalinowski e681441
minor edits
t-kalinowski 2d2d4c5
swap arg order in `APPEND_NODE()` helper
t-kalinowski aaa3b04
convert `expect_error()` test to `expect_snapshot()`
t-kalinowski 2fe7ce1
add snapshot varient for R version < 4.3
t-kalinowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: rchk | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
rchk: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-r@v2 | ||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
|
||
- run: R CMD build . | ||
|
||
- run: docker pull kalibera/rchk:latest | ||
|
||
- name: run rchk | ||
run: | | ||
pkgtar=$(ls S7_*.tar.gz) | ||
mkdir -p rchk/packages | ||
mv $pkgtar rchk/packages/ | ||
cd rchk | ||
docker run -v `pwd`/packages:/rchk/packages kalibera/rchk:latest /rchk/packages/$pkgtar > rchk.log 2>&1 | ||
cat rchk.log | ||
|
||
- run: cat rchk.log | ||
working-directory: rchk | ||
|
||
- name: upload rchk log | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: rchk-log | ||
path: rchk/rchk.log |
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.