From 5fb95d2feddfd2a0fa3f234a102fe2992203c7c7 Mon Sep 17 00:00:00 2001 From: "Carter T. Butts" Date: Tue, 24 Jan 2023 00:48:42 -0800 Subject: [PATCH] Fixed internal issues flagged by CRAN, and updated to 1.18.1. --- ChangeLog | 4 ++++ DESCRIPTION | 4 ++-- man/loading.attributes.Rd | 2 +- src/access.c | 6 +++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 480d96c..01f4231 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ CHANGELOG: +v1.18.1 + - Non-visible changes for CRAN compliance. + - as.network.data.frame() now handles deleted edges correctly. + - as.data.frame.network() can now mimic as_tibble_network() behavior. v1.18.0 - Many network methods are now S3 generics (to facilitate objects like networkLite). - get.dyads.eids now has an na.omit argument. diff --git a/DESCRIPTION b/DESCRIPTION index 049e3fb..deefe26 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: network -Version: 1.18.0 -Date: 2022-10-05 +Version: 1.18.1 +Date: 2023-01-24 Title: Classes for Relational Data Authors@R: c( person("Carter T.", "Butts", role=c("aut","cre"), email="buttsc@uci.edu"), diff --git a/man/loading.attributes.Rd b/man/loading.attributes.Rd index 473cc79..9f87ef0 100644 --- a/man/loading.attributes.Rd +++ b/man/loading.attributes.Rd @@ -13,7 +13,7 @@ use of the specific network attribute methods such as \code{get.vertex.attribute} and \code{set.edge.attribute}. This document gives examples of how to load in and attach attribute data, drawing heavily on material from the Sunbelt statnet workshops -\url{https://github.com/statnet/Workshops/wiki}. +\url{https://statnet.org/workshops/}. The examples section below give a quick overview of: \itemize{ diff --git a/src/access.c b/src/access.c index f77852e..bca34ce 100644 --- a/src/access.c +++ b/src/access.c @@ -4,7 +4,7 @@ # access.c # # Written by Carter T. Butts -# Last Modified 05/19/22 +# Last Modified 01/24/23 # Licensed under the GNU General Public License version 2 (June, 1991) # or greater # @@ -618,7 +618,7 @@ SEXP addEdges(SEXP x, SEXP tail, SEXP head, SEXP namesEval, SEXP valsEval, SEXP i=length(atlnam); PROTECT(atlnam = enlargeList(atlnam,length(atl)-i)); pc++; for(j=i;j