Skip to content

Commit 4efb332

Browse files
committed
Merge branch 'CRAN' into master (exclude workflows)
2 parents a7d3010 + 94be745 commit 4efb332

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
^\.lintr$
2626
^lintr\.R$
2727
^.*\.txt$
28-
^.*\.mhtml$
28+
^.*\.mhtml$

src/math_primitives.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Eigen::MatrixXd cpp_grouped_sums(
5858
}
5959

6060
// Find actual number of unique groups safely
61+
[[maybe_unused]] int min_group = groups.minCoeff();
6162
int max_group = groups.maxCoeff();
6263
int n_groups = max_group + 1;
6364

tests/testthat/test-design_stats.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ test_that("design_stats_api SPD (design_type=3) returns main-plot error", {
397397
})
398398

399399
test_that("design_stats_api stops on invalid design_type integer", {
400-
skip_on_cran() # error handling test or warning testd <- rcbd_data()
400+
skip_on_cran()
401+
d <- rcbd_data()
401402
data_mat <- cbind(d$trait1, d$trait2)
402403
expect_error(
403404
selection.index:::design_stats_api(data_mat, d$gen_idx, d$rep_idx,

0 commit comments

Comments
 (0)