From 4ec175b4721e8f257860dbcd6605de03ce8506ff Mon Sep 17 00:00:00 2001 From: "Pavel N. Krivitsky" Date: Sun, 17 Dec 2023 18:00:10 +1100 Subject: [PATCH] Updated NEWS. --- DESCRIPTION | 4 ++-- inst/NEWS.Rd | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f6c5e8951..9e09bb04e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: ergm -Version: 4.6-7282 -Date: 2023-12-09 +Version: 4.6-7286 +Date: 2023-12-17 Title: Fit, Simulate and Diagnose Exponential-Family Models for Networks Authors@R: c( person(c("Mark", "S."), "Handcock", role=c("aut"), email="handcock@stat.ucla.edu"), diff --git a/inst/NEWS.Rd b/inst/NEWS.Rd index 42bb990da..bbcde73f0 100644 --- a/inst/NEWS.Rd +++ b/inst/NEWS.Rd @@ -83,6 +83,9 @@ \item{ The bounded degree support in the dyad noise proposal (see \code{\link{dyadnoise-ergmConstraint}}) has been fixed. } + \item{ + Fixed a bug in the DyadGen API implementation that would sometimes cause a crash when sampling non-edges with RLEBDM (such as when combining the \code{\link[edges-ergmConstraint]{edges}} with some dyadic constraint). (Thanks to Benjamin Rosche (Cornell University) for the bug report.) + } \item{ A number of potential errors and vulnerabilities in C code flagged by CRAN have been fixed. } @@ -95,11 +98,17 @@ \subsection{OTHER USER-VISIBLE CHANGES}{ \itemize{ + \item{ + The proposal lookup API is now more flexible: instead of selecting one proposal, it returns a list ordered by priority and suitability. Each proposal on the list is tried in turn and can \dQuote{reject} a sampling scenario at initialization, in which case the next proposal is tried. This means that \dQuote{special case} proposals can offer themselves up and then pass on if it is not their special case. + } \item{ In \code{\link{simulate.ergm}()} with \code{observational=TRUE}, the basis (initial network) defaults to \code{object$network}, not \code{object$newnetwork}, since the latter often has missing edges and other metadata missing. } \item{ - The proposal lookup API is now more flexible: instead of selecting one proposal, it returns a list ordered by priority and suitability. Each proposal on the list is tried in turn and can \dQuote{reject} a sampling scenario at initialization, in which case the next proposal is tried. This means that \dQuote{special case} proposals can offer themselves up and then pass on if it is not their special case. + Documentation for defunct functions (in \code{\link{ergm-defunct}}) no longer includes function prototypes as they triggered CRAN warnings. + } + \item{ + Some changes to minimize matrix inversions and improve numerical stability. } } }