Skip to content

Commit

Permalink
Fixed internal issues flagged by CRAN, and updated to 1.18.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterButts committed Jan 24, 2023
1 parent 40c251e commit 5fb95d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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="[email protected]"),
Expand Down
2 changes: 1 addition & 1 deletion man/loading.attributes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# access.c
#
# Written by Carter T. Butts <[email protected]>
# Last Modified 05/19/22
# Last Modified 01/24/23
# Licensed under the GNU General Public License version 2 (June, 1991)
# or greater
#
Expand Down Expand Up @@ -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<length(atl);j++){
sprintf(buf,"%d",j);
snprintf(buf,sizeof(buf),"%d",j);
SET_STRING_ELT(atlnam,j,mkChar(buf));
}
}
Expand Down Expand Up @@ -905,7 +905,7 @@ SEXP addEdge_R(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<length(atl);j++){
sprintf(buf,"%d",j);
snprintf(buf,sizeof(buf),"%d",j);
SET_STRING_ELT(atlnam,j,mkChar(buf));
}
}
Expand Down

0 comments on commit 5fb95d2

Please sign in to comment.