-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed internal issues flagged by CRAN, and updated to 1.18.1.
- Loading branch information
1 parent
40c251e
commit 5fb95d2
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]"), | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
# | ||
|
@@ -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)); | ||
} | ||
} | ||
|
@@ -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)); | ||
} | ||
} | ||
|