diff --git a/.github/workflows/pushrelease.yml b/.github/workflows/pushrelease.yml index aadd8853..0c315a3c 100644 --- a/.github/workflows/pushrelease.yml +++ b/.github/workflows/pushrelease.yml @@ -98,7 +98,7 @@ jobs: prerelease: false - name: Download binaries - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R diff --git a/DESCRIPTION b/DESCRIPTION index 84af80ed..c69fada5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: migraph Title: Univariate and Multivariate Tests for Multimodal and Other Networks -Version: 1.4.1 -Date: 2024-07-19 +Version: 1.4.2 +Date: 2024-09-04 Description: A set of tools for testing networks. It includes functions for univariate and multivariate conditional uniform graph and quadratic assignment procedure testing, diff --git a/NEWS.md b/NEWS.md index 5fdedf3a..ec9d97a9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,16 @@ +# migraph 1.4.2 + +2024-09-04 + +## Package + +- Using github actions download artifact v4 to address dependabot security warning + +## Models + +- `test_permutation()` now uses `manynet::to_permuted()` instead of the older +`manynet::generate_permutation()` syntax + # migraph 1.4.1 2024-07-19 diff --git a/R/model_tests.R b/R/model_tests.R index b32252f1..9ad1fa15 100644 --- a/R/model_tests.R +++ b/R/model_tests.R @@ -93,7 +93,7 @@ test_permutation <- function(.data, FUN, ..., oplan <- future::plan(strategy) on.exit(future::plan(oplan), add = TRUE) rands <- furrr::future_map(1:times, - function(x) manynet::generate_permutation(.data), + function(x) manynet::to_permuted(.data), .progress = verbose, .options = furrr::furrr_options(seed = T)) if (!is.null(args)) { diff --git a/cran-comments.md b/cran-comments.md index 4e11fbf3..c67a50ce 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -9,9 +9,3 @@ 0 errors | 0 warnings | 0 notes -* This release is expected to create errors with older versions of manynet, -but should create no errors with the latest version -* Currently binaries of manynet have been built for most flavors, with the exception of r-release-windows-x86_66 -* There is expected to be test errors for this flavor until a manynet binary for v1.0.1 has been built -* Since manynet is a Depends for migraph, this should not pose a problem for users -upgrading