Skip to content

Commit 638d0cb

Browse files
committed
let's try this
1 parent 35762a8 commit 638d0cb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
R_KEEP_PKG_SOURCE: yes
3535

3636
steps:
37-
- run: git config --global core.autocrlf false
37+
- run: git config --global core.autocrlf true
3838
- name: Install `bindgen`
3939
run: |
4040
# cargo install bindgen-cli
@@ -79,12 +79,15 @@ jobs:
7979
overwrite: true
8080

8181
commit:
82+
defaults:
83+
run:
84+
shell: pwsh
8285
needs: R-CMD-check
8386
runs-on: ubuntu-latest
8487
env:
8588
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
8689
steps:
87-
- run: git config --global core.autocrlf false
90+
- run: git config --global core.autocrlf true
8891
- uses: actions/checkout@v4
8992
- uses: actions/download-artifact@v4
9093
with:

src/Makevars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ ALL_R_BINDINGS: $(ALL_R_BINDINGS)
101101
# $(ECHO) $(ALL_R_BINDINGS)
102102
# $(ECHO) "All bindings are up-to-date."
103103

104+
$(BINDINGS_DIR)/R_ext/Constants.rs: BINDGEN_EXTRA = --blocklist-item M_PI
104105
# Applic.h includes what's in R_ext/Utils.h, so we block them
105106
$(BINDINGS_DIR)/R_ext/Applic.rs: BINDGEN_EXTRA = --blocklist-item findInterval
106107
# Lapack.h includes what's in R_ext/BLAS.h, so we block them

0 commit comments

Comments
 (0)