Skip to content

Commit

Permalink
Minor updates to fix CRAN issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterButts committed Dec 5, 2023
1 parent 5fb95d2 commit e942057
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
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.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"),
Expand Down
1 change: 0 additions & 1 deletion man/network-internal.Rd

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

2 changes: 1 addition & 1 deletion src/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e942057

Please sign in to comment.