Skip to content

Replace deprecated alloc / free + modern repo structure#4

Open
mmyrte wants to merge 5 commits into
ICHydro:masterfrom
mmyrte:build-on-macos
Open

Replace deprecated alloc / free + modern repo structure#4
mmyrte wants to merge 5 commits into
ICHydro:masterfrom
mmyrte:build-on-macos

Conversation

@mmyrte

@mmyrte mmyrte commented Nov 2, 2025

Copy link
Copy Markdown

I've noticed how this package couldn't be built / installed, and I wanted to reproduce some results with old code that was lying around. Found out that the failure to build, at least on macOS, was due to the use of Calloc/Free that had been deprecated since R 4.2 and finally removed in R4.4. The R_Calloc/R_Free alternatives had been available since 3.4, so there is little chance of this change being very backward-incompatible.

In order to work with regular devtools and friends, I moved the R package onto the toplevel of the repository. It's unclear why git mv didn't track these files correctly; I can try to fix this, if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant