Skip to content

Commit

Permalink
remove non-API calls to PI and Free in Issue #81
Browse files Browse the repository at this point in the history
  • Loading branch information
merliseclyde committed Sep 14, 2024
1 parent bc85408 commit 6abadf0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: BAS
Version: 1.7.1.9000
Date: 2024-9-12
Date: 2024-9-14
Title: Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling
Authors@R: c(person("Merlise", "Clyde", email="[email protected]",
role=c("aut","cre", "cph"),
Expand Down
2 changes: 1 addition & 1 deletion src/tree_structures.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void deallocate_tree(struct Node *tree) {
if (!tree) return;
deallocate_tree(tree->one);
deallocate_tree(tree->zero);
Free(tree);
R_Free(tree);
}
// # nocov end

Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-bas-lm-lowrank.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ test_that("check non-full rank", {
expect_equal(basObj.EBL$postprobs, basObj.up$postprobs,
tolerance=.001)

skip_on_cran()
skip_on_cran()
skip_on_os("mac", arch="aarch64")
expect_warning(bas.lm(fullModelFormula,
data = d,
alpha = 0.125316,
Expand Down

0 comments on commit 6abadf0

Please sign in to comment.