From a3bcba4b963249380b4b02c57b043e2082c5a139 Mon Sep 17 00:00:00 2001 From: "Pavel N. Krivitsky" Date: Fri, 11 Oct 2024 00:54:19 +1100 Subject: [PATCH] Updated copyright year and headers. --- LICENSE | 2 +- R/EgoStat.R | 2 +- R/EgoStat.duration.R | 2 +- R/EgoStat.node.attr.R | 2 +- R/InitErgmTerm.R | 2 +- R/control.ergm.ego.R | 2 +- R/control.simulate.ergm.ego.R | 2 +- R/degreedist.R | 2 +- R/egor.R | 2 +- R/ergm.ego.R | 2 +- R/fmhfit.R | 2 +- R/gof.ergm.ego.R | 2 +- R/predict.ergmego.R | 2 +- R/reweight.egor.R | 2 +- R/simulate.ergm.ego.R | 2 +- R/summary.ergm.ego.R | 2 +- R/summary.statistics.egor.R | 2 +- R/zzz.R | 2 +- data-raw/fmhfit.R | 2 +- inst/NEWS.Rd | 2 +- man-roxygen/basis.R | 2 +- man-roxygen/control.R | 2 +- man-roxygen/seed.R | 2 +- man-roxygen/verbose.R | 2 +- src/changestats.c | 2 +- src/include_stubs.c | 2 +- src/init.c | 2 +- tests/testthat.R | 2 +- tests/testthat/test-EgoStat.R | 2 +- tests/testthat/test-boot_jack.R | 2 +- tests/testthat/test-coef_recovery.R | 2 +- tests/testthat/test-degreedist.R | 2 +- tests/testthat/test-drop.R | 2 +- tests/testthat/test-gof.ergm.ego.R | 2 +- tests/testthat/test-mixingmatrix.R | 2 +- tests/testthat/test-netsize.adj.R | 2 +- tests/testthat/test-predict.ergm.ego.R | 2 +- tests/testthat/test-statmismatch.R | 2 +- tests/testthat/test-table_ppop.R | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/LICENSE b/LICENSE index 1b59d13..53d51ca 100644 --- a/LICENSE +++ b/LICENSE @@ -37,4 +37,4 @@ Martina Morris, University of Washington The 'statnet' development team -Copyright 2015-2023 +Copyright 2015-2024 diff --git a/R/EgoStat.R b/R/EgoStat.R index f581ca8..0308185 100644 --- a/R/EgoStat.R +++ b/R/EgoStat.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ # An EgoStat.* function takes an egor object and returns a matrix of # h(e[i]) values, with egos in rows and elements of h(e[i]) in diff --git a/R/EgoStat.duration.R b/R/EgoStat.duration.R index efe037e..f4b930f 100644 --- a/R/EgoStat.duration.R +++ b/R/EgoStat.duration.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ EgoStat.mean.age <- function(egor, emptyval=0){ startcol <- attr(egor,"alter_design")$startcol diff --git a/R/EgoStat.node.attr.R b/R/EgoStat.node.attr.R index 2a21a19..5a24107 100644 --- a/R/EgoStat.node.attr.R +++ b/R/EgoStat.node.attr.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @name nodal_attributes-API #' @title Helper functions for specifying nodal attribute levels diff --git a/R/InitErgmTerm.R b/R/InitErgmTerm.R index e63939e..6482007 100644 --- a/R/InitErgmTerm.R +++ b/R/InitErgmTerm.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' A custom term giving a linear combination of change statistics diff --git a/R/control.ergm.ego.R b/R/control.ergm.ego.R index 2cb4774..b583277 100644 --- a/R/control.ergm.ego.R +++ b/R/control.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/control.simulate.ergm.ego.R b/R/control.simulate.ergm.ego.R index 98b11a1..af17b59 100644 --- a/R/control.simulate.ergm.ego.R +++ b/R/control.simulate.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/degreedist.R b/R/degreedist.R index 5c62c85..5434a26 100644 --- a/R/degreedist.R +++ b/R/degreedist.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/egor.R b/R/egor.R index d267fd8..3ea0c16 100644 --- a/R/egor.R +++ b/R/egor.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/ergm.ego.R b/R/ergm.ego.R index 4631ac0..dc7f93b 100644 --- a/R/ergm.ego.R +++ b/R/ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/fmhfit.R b/R/fmhfit.R index e187e16..580f599 100644 --- a/R/fmhfit.R +++ b/R/fmhfit.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' Fitted ergm.ego model object #' diff --git a/R/gof.ergm.ego.R b/R/gof.ergm.ego.R index 09d886a..0e65767 100644 --- a/R/gof.ergm.ego.R +++ b/R/gof.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ # This file contains the following 8 functions for assessing goodness of fit # diff --git a/R/predict.ergmego.R b/R/predict.ergmego.R index 17a90ba..57ee1e7 100644 --- a/R/predict.ergmego.R +++ b/R/predict.ergmego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' ERGM-based predicted tie probabilities for the pseudo-population network #' diff --git a/R/reweight.egor.R b/R/reweight.egor.R index 4be4106..134da84 100644 --- a/R/reweight.egor.R +++ b/R/reweight.egor.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ ## reweight.egor <- function(x, g, gw){ ## gw <- gw[order(gw[,1]),2] diff --git a/R/simulate.ergm.ego.R b/R/simulate.ergm.ego.R index f829139..8b59dd2 100644 --- a/R/simulate.ergm.ego.R +++ b/R/simulate.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ diff --git a/R/summary.ergm.ego.R b/R/summary.ergm.ego.R index 7938146..a99f408 100644 --- a/R/summary.ergm.ego.R +++ b/R/summary.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ ## A thin wrapper around summary.ergm to get rid of a spurious error message. #' @method summary ergm.ego diff --git a/R/summary.statistics.egor.R b/R/summary.statistics.egor.R index e3e4b58..927980a 100644 --- a/R/summary.statistics.egor.R +++ b/R/summary.statistics.egor.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' Calculation of ERGM-style summary statistics for [`egor`] #' objects. diff --git a/R/zzz.R b/R/zzz.R index 58882b3..01e0f54 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @import statnet.common .onAttach <- function(lib, pkg){ diff --git a/data-raw/fmhfit.R b/data-raw/fmhfit.R index c8cd5a1..a9dbaad 100644 --- a/data-raw/fmhfit.R +++ b/data-raw/fmhfit.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ library(ergm.ego) diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index 9c74a9e..0165812 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -5,7 +5,7 @@ % open source, and has the attribution requirements (GPL Section 7) at % https://statnet.org/attribution . % -% Copyright 2015-2023 Statnet Commons +% Copyright 2015-2024 Statnet Commons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{NEWS} \title{NEWS file for the \code{\link[=ergm.ego-package]{ergm.ego}} package} diff --git a/man-roxygen/basis.R b/man-roxygen/basis.R index fe32bd1..5aaf31f 100644 --- a/man-roxygen/basis.R +++ b/man-roxygen/basis.R @@ -5,6 +5,6 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @param basis a value (usually an [`egor`]) to override the LHS of the formula. diff --git a/man-roxygen/control.R b/man-roxygen/control.R index f9c3f72..52be3ae 100644 --- a/man-roxygen/control.R +++ b/man-roxygen/control.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @param control A list of control parameters for algorithm tuning, #' typically constructed with [<%=mycontrol%>()]. Its documentation diff --git a/man-roxygen/seed.R b/man-roxygen/seed.R index 1389181..b189633 100644 --- a/man-roxygen/seed.R +++ b/man-roxygen/seed.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @param seed Seed value (integer) for the random number generator. See #' \code{\link[base]{set.seed}}. diff --git a/man-roxygen/verbose.R b/man-roxygen/verbose.R index e432812..0df91eb 100644 --- a/man-roxygen/verbose.R +++ b/man-roxygen/verbose.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ #' @param verbose A logical or an integer to control the amount of #' progress and diagnostic information to be printed. `FALSE`/`0` diff --git a/src/changestats.c b/src/changestats.c index 9d4d533..07ff68f 100644 --- a/src/changestats.c +++ b/src/changestats.c @@ -5,7 +5,7 @@ * open source, and has the attribution requirements (GPL Section 7) at * https://statnet.org/attribution . * - * Copyright 2015-2023 Statnet Commons + * Copyright 2015-2024 Statnet Commons */ #include "ergm_constants.h" #include "ergm_changestat.h" diff --git a/src/include_stubs.c b/src/include_stubs.c index f482aea..68fa21f 100644 --- a/src/include_stubs.c +++ b/src/include_stubs.c @@ -5,6 +5,6 @@ * open source, and has the attribution requirements (GPL Section 7) at * https://statnet.org/attribution . * - * Copyright 2015-2023 Statnet Commons + * Copyright 2015-2024 Statnet Commons */ #include "ergm_stubs.c" diff --git a/src/init.c b/src/init.c index e506304..849320e 100644 --- a/src/init.c +++ b/src/init.c @@ -5,7 +5,7 @@ * open source, and has the attribution requirements (GPL Section 7) at * https://statnet.org/attribution . * - * Copyright 2015-2023 Statnet Commons + * Copyright 2015-2024 Statnet Commons */ #include // for NULL #include diff --git a/tests/testthat.R b/tests/testthat.R index 9902357..1ba784b 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ library(testthat) library(ergm.ego) diff --git a/tests/testthat/test-EgoStat.R b/tests/testthat/test-EgoStat.R index 083e145..83c41d7 100644 --- a/tests/testthat/test-EgoStat.R +++ b/tests/testthat/test-EgoStat.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ library(purrr) library(dplyr) diff --git a/tests/testthat/test-boot_jack.R b/tests/testthat/test-boot_jack.R index 30967de..bda121a 100644 --- a/tests/testthat/test-boot_jack.R +++ b/tests/testthat/test-boot_jack.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ data(faux.mesa.high) diff --git a/tests/testthat/test-coef_recovery.R b/tests/testthat/test-coef_recovery.R index bcea32e..741b13c 100644 --- a/tests/testthat/test-coef_recovery.R +++ b/tests/testthat/test-coef_recovery.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ test_that("complete ERGM and ergm.ego() give similar coef estimates",{ data(faux.mesa.high) diff --git a/tests/testthat/test-degreedist.R b/tests/testthat/test-degreedist.R index 02ab5b2..163c0ef 100644 --- a/tests/testthat/test-degreedist.R +++ b/tests/testthat/test-degreedist.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ ## |----|--------|---|----------|-----------| diff --git a/tests/testthat/test-drop.R b/tests/testthat/test-drop.R index e3ab178..d9bf0ab 100644 --- a/tests/testthat/test-drop.R +++ b/tests/testthat/test-drop.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ nw <- network.initialize(20,directed=FALSE) diff --git a/tests/testthat/test-gof.ergm.ego.R b/tests/testthat/test-gof.ergm.ego.R index 2c95db7..a568e46 100644 --- a/tests/testthat/test-gof.ergm.ego.R +++ b/tests/testthat/test-gof.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ data("fmhfit", package="ergm.ego") diff --git a/tests/testthat/test-mixingmatrix.R b/tests/testthat/test-mixingmatrix.R index 5618975..07b421f 100644 --- a/tests/testthat/test-mixingmatrix.R +++ b/tests/testthat/test-mixingmatrix.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ data(egor32, package="egor") diff --git a/tests/testthat/test-netsize.adj.R b/tests/testthat/test-netsize.adj.R index 0b80a82..632f1b2 100644 --- a/tests/testthat/test-netsize.adj.R +++ b/tests/testthat/test-netsize.adj.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ data(sampson, package="ergm") diff --git a/tests/testthat/test-predict.ergm.ego.R b/tests/testthat/test-predict.ergm.ego.R index 36b8418..db1aa93 100644 --- a/tests/testthat/test-predict.ergm.ego.R +++ b/tests/testthat/test-predict.ergm.ego.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ test_that("it just works for model without offsets", { diff --git a/tests/testthat/test-statmismatch.R b/tests/testthat/test-statmismatch.R index 329f26a..de33485 100644 --- a/tests/testthat/test-statmismatch.R +++ b/tests/testthat/test-statmismatch.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ egos <- data.frame(egoIDcol = 1:12, x = rep(1:3, 4)) diff --git a/tests/testthat/test-table_ppop.R b/tests/testthat/test-table_ppop.R index f7c31f2..171d92f 100644 --- a/tests/testthat/test-table_ppop.R +++ b/tests/testthat/test-table_ppop.R @@ -5,7 +5,7 @@ # open source, and has the attribution requirements (GPL Section 7) at # https://statnet.org/attribution . # -# Copyright 2015-2023 Statnet Commons +# Copyright 2015-2024 Statnet Commons ################################################################################ test_that("estimation and simulation work", { data(faux.mesa.high)