From e9420575df431f0123a2fa1301b655729fa56268 Mon Sep 17 00:00:00 2001 From: "Carter T. Butts" Date: Tue, 5 Dec 2023 13:35:18 -0800 Subject: [PATCH] Minor updates to fix CRAN issues. --- ChangeLog | 2 ++ DESCRIPTION | 4 ++-- man/network-internal.Rd | 1 - src/access.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 01f4231..d283674 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ CHANGELOG: +v1.18.2 + - Non-visible changes for CRAN compliance. v1.18.1 - Non-visible changes for CRAN compliance. - as.network.data.frame() now handles deleted edges correctly. diff --git a/DESCRIPTION b/DESCRIPTION index deefe26..ba1af7b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: network -Version: 1.18.1 -Date: 2023-01-24 +Version: 1.18.2 +Date: 2023-12-04 Title: Classes for Relational Data Authors@R: c( person("Carter T.", "Butts", role=c("aut","cre"), email="buttsc@uci.edu"), diff --git a/man/network-internal.Rd b/man/network-internal.Rd index 252237f..7ccc140 100644 --- a/man/network-internal.Rd +++ b/man/network-internal.Rd @@ -22,7 +22,6 @@ network.} \item{y}{a network or something coercible to one.} -\item{\dots}{further arguments passed to or used by methods.} } \description{ Internal network functions. diff --git a/src/access.c b/src/access.c index bca34ce..c4a69b9 100644 --- a/src/access.c +++ b/src/access.c @@ -82,7 +82,7 @@ SEXP getEdgeAttribute(SEXP x, int e, const char *str) /*Retrieve the edge, and sound a warning if not present.*/ el=VECTOR_ELT(getListElement(x,"mel"),e-1); if(el==R_NilValue){ - warning("Attempt to get attribute %s for edge %e failed in getEdgeAttribute: no such edge.\n",str,e); + warning("Attempt to get attribute %s for edge %e failed in getEdgeAttribute: no such edge.\n",str,(double)e); return R_NilValue; }