From f176e883b5ca07182ba38cc28c5f7e39d8075f51 Mon Sep 17 00:00:00 2001 From: James Hollway Date: Thu, 3 Sep 2026 20:26:58 +0200 Subject: [PATCH 1/4] Updated intro tutorial --- DESCRIPTION | 2 +- NEWS.md | 6 ++++++ inst/tutorials/tutorial0/tutorial0.Rmd | 12 ++++++------ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b802b39f..86b22dda 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: migraph Title: Inferential Methods for Multimodal and Other Networks -Version: 1.7.0 +Version: 1.7.1 Description: A set of tools for testing networks. It includes functions for univariate and multivariate conditional uniform graph and quadratic assignment procedure testing, and network regression. diff --git a/NEWS.md b/NEWS.md index a099832c..74db2518 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# migraph 1.7.1 + +## Tutorials + +- Updated intro tutorial + # migraph 1.7.0 ## Package diff --git a/inst/tutorials/tutorial0/tutorial0.Rmd b/inst/tutorials/tutorial0/tutorial0.Rmd index e66572a5..f63f67a5 100644 --- a/inst/tutorials/tutorial0/tutorial0.Rmd +++ b/inst/tutorials/tutorial0/tutorial0.Rmd @@ -67,7 +67,7 @@ such as in the [stocnet](https://github.com/stocnet) group of packages... ### What is RStudio? -RStudio logo +RStudio logo [RStudio](https://posit.co/products/open-source/rstudio/) is an integrated development environment (IDE) for R and Python, enabling researchers to interact with R (and/or Python) through a fully-functional editor @@ -414,10 +414,10 @@ You can follow my example below (copy to a new script and uncomment): ```{r egonet-eg, exercise = TRUE} mynetwork <- matrix(0,2,2) # this creates an empty network of 2 people # Next I'm going to name the matrix rows and columns: -rownames(mynetwork) <- c("James Hollway","Korakot Janteerasakul") -colnames(mynetwork) <- c("James Hollway","Korakot Janteerasakul") -mynetwork[1,2] <- 1 # this means I know Korakot already -mynetwork[2,1] <- 1 # I think I can say Korakot knows me already too... -mynetwork["James Hollway","Korakot Janteerasakul"] <- 1 # I could also do this by name +rownames(mynetwork) <- c("James Hollway","Tommaso Fonti") +colnames(mynetwork) <- c("James Hollway","Tommaso Fonti") +mynetwork[1,2] <- 1 # this means I know Tommaso already +mynetwork[2,1] <- 1 # I think I can say Tommaso knows me already too... +mynetwork["James Hollway","Tommaso Fonti"] <- 1 # I could also do this by name # mynetwork[mynetwork > 0] <- 0 # Just in case you make a mistake, this wipes it! ``` From da442305fc13331749e86510a1a4d510c960ed6b Mon Sep 17 00:00:00 2001 From: James Hollway Date: Thu, 3 Sep 2026 20:27:27 +0200 Subject: [PATCH 2/4] Raised netrics dependency --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 86b22dda..13741adf 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,7 +20,7 @@ Depends: R (>= 4.1.0), manynet (>= 2.3.1), autograph (>= 1.2.2), - netrics (>= 0.4.0) + netrics (>= 1.0.1) Imports: dplyr (>= 1.1.0), ergm, From f89a54b8702155bec9413f73b5d05f7a6129719c Mon Sep 17 00:00:00 2001 From: James Hollway Date: Fri, 4 Sep 2026 18:08:39 +0200 Subject: [PATCH 3/4] Updated NEWS --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 74db2518..c18b8bb2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # migraph 1.7.1 +## Package + +- Raised netrics floor to 1.0.1 + ## Tutorials - Updated intro tutorial From 9915aecace68aa464138a5f00def2e0d9355f2d3 Mon Sep 17 00:00:00 2001 From: James Hollway Date: Fri, 4 Sep 2026 18:15:02 +0200 Subject: [PATCH 4/4] Update minimum required version of netrics to 1.0.1 Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index c18b8bb2..194db4f3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## Package -- Raised netrics floor to 1.0.1 +- Raised the minimum required version of `{netrics}` to 1.0.1 ## Tutorials