Skip to content

Commit

Permalink
MKL testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Sep 5, 2024
1 parent c7af5fd commit 6e26dd5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
config:
description: 'A comma separated list of R-hub platforms to use.'
type: string
default: 'linux,macos,macos-arm64,windows,atlas,clang-asan,valgrind'
default: 'linux,macos,macos-arm64,windows,atlas,mkl,clang-asan,valgrind'
name:
description: 'Run name (optional)'
type: string
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: TreeDist
Type: Package
Title: Calculate and Map Distances Between Phylogenetic Trees
Version: 2.9.0
Version: 2.9.1
Authors@R: c(person("Martin R.", "Smith",
email = "[email protected]",
role = c("aut", "cre", "cph", "prg"),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# TreeDist 2.9.1 (2024-09-05)

- Avoid false positive in MKL testing environment.


# TreeDist 2.9.0 (2024-09-03)

- `VisualizeMatching()` allows more control over output format, and returns
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Test environments
* Local machine, Windows 10, R 4.4.1 (2024-06-14 ucrt)
* Local machine, Windows 10, R devel (2024-09-02 r87090 ucrt)

* `devtools::check_win_devel()`

Expand All @@ -11,7 +11,7 @@
* [valgrind mem-check](https://github.com/ms609/TreeDist/actions/workflows/memcheck.yml)

* [R-hub](https://github.com/ms609/TreeDist/actions/workflows/rhub.yaml):
- linux,macos,macos-arm64,windows,atlas,clang-asan,valgrind
- linux,macos,macos-arm64,windows,atlas,mkl,clang-asan,valgrind


## Downstream dependencies
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-spectral_clustering.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ test_that("Spectral clustering fails gracefully", {
test_that("Spectral clustering works", {
allEig <- SpectralEigens(d, nEig = Inf)
expect_equal(dim(allEig), c(40, 40))
expect_equal(SpectralEigens(d, nEig = 2), allEig[, 40:39])
expect_equal(SpectralEigens(d, nEig = 2), allEig[, 40:39],
tolerance = sqrt(.Machine[["double.eps"]]))
})

0 comments on commit 6e26dd5

Please sign in to comment.