Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 6282984EEF for ; Sun, 11 Jun 2023 03:24:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id RXu05PI1l7iX for ; Sun, 11 Jun 2023 03:24:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5F37C84CCF for ; Sun, 11 Jun 2023 03:24:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 52CCEFA89; Sun, 11 Jun 2023 03:24:46 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1686453886244540" MIME-Version: 1.0 Date: Sun, 11 Jun 2023 03:24:46 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/math/R-nimble To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20230611032446.52CCEFA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1686453886244540 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Sun Jun 11 03:24:46 UTC 2023 Modified Files: pkgsrc/math/R-nimble: Makefile distinfo Log Message: (math/R-nimble) Updated 0.13.1 to 1.0.0 # CHANGES IN VERSION 1.0.0 (May 2023) This release introduces tools for automatic differentiation in NIMBLE. ## USER LEVEL CHANGES - Add tools for automatic differentiation. Functionality includes: -- The ability to differentiate nimbleFunctions with respect to input arguments in a flexible way. -- The ability to differentiate `model$calculate()` calls with respect to model node elements. -- Functionality that enables Hamiltonian Monte Carlo (provided in the `nimbleHMC` package). -- A parameter transformation system to work in unconstrained parameter spaces when model parameters have constrained domains. - Add Laplace approximation algorithm, allowing a user to approximate the marginal likelihood (integration/marginalizing over random effects/ latent process values) and find the MLE. - Improve aspects of WAIC (PR #1256): -- Provide aggregate and per-chain WAIC when `perChainWAIC` is `TRUE`. -- Report number of `pWAIC` values greater than 0.4. -- Warn user if WAIC is enabled but not set to `TRUE` in `runMCMC`. -- Improve clarity in `help(WAIC)`. - Reduce the default adaptation interval for the `AF_slice` sampler to 200. - Improved control of `addSampler` method of MCMC configuration objects (PR #1293): -- `expandTarget` argument controls whether nodes specified in `target` undergo expansion via `expandNodeNames`, adding a separate sampler instance for each resulting node. -- When `expandTarget = TRUE`, the `scalarComponents` argument is passed as the `returnScalarComponents` argument to `expandNodeNames`. -- Removed `nodes` argument as redundant. Target nodes are uniquely specified using the `target` argument. - Improve handling of resetting of scale when `adaptive=FALSE` (PR #1275). - Allow `dcat` to have a `prob` vector of length 1 (PR #1251). - Add error trapping for MCMC `thin` argument not positive and integer-valued (PR #1250). - Enhance discussion of MCMC initialization in the User Manual (issue #1247). - Enhance discussion of indexing in loops and variables in User Manual, including differences from JAGS. - Rework language in `help(buildMCMC)` to improve clarity. - Add information on predefined nimbleLists to the User Manual. - Improve error message when user-defined distribution has incorrect dimension for `x`. - Improve error message when mistakenly using `T()` in deterministic rather than stochastic model declaration. - Improve error-trapping when a loop index is incorrectly used in indexing a block of a variable (PR #1289). - Error trap use of reduction operations on scalars (PR #1281). - Error trap some cases of incorrect return type in user-defined simulation ('r') functions (PR #1280). - Error trap case where a variable name is also used as a loop index variable (PR #1278). - Error trap setting deterministic nodes as data in `setData` (PR #1269). - Better error trap of wrong size/dimensions of in `setInits` (PR #1260). - Export `clearCompiled`, allowing users to clear compiled objects and unload the shared library produced during nimble's compilation process (on non-Windows operating systems). ## BUG FIXES - Fix bug producing integer overflow in `getDependencyPathCountOneNode` and improve efficiency of checking maximum number of paths in conjugacy checking (PR #1322). - Fix long-standing memory leak in `dinvwish_chol` (PR #1320). - Fix bug giving incorrect results for `runCrossValidate`, when using the default MSE loss function and any user-defined loss functions, but not the 'predictive' loss function. Also, calculate loss when using the predictive loss using the compiled model rather than the uncompiled model. (PRs #1298, #1299). - Fix bug in conjugacy checking that caused incorrect identification of conjugate relationships with subsets and supersets of multivariate nodes, as well as inconsistent slices of multivariate nodes (PR #1290). - Fix `runMCMC` to reset the WAIC state when rerun (PR #1256). - Fix reset mechanism for WAIC so that one can get WAIC from all the samples in a chain that is created by multiple calls to the MCMC `$run` method even when `getWAIC` is called in the middle (PR #1310). - Fix bug affecting `d=2` case in uncompiled `RW_lkj_corr_cholesky` sampler (PR #1273). - Fix aliasing issue arising in assignment operations such as `nf$a <- nf$a[1:3]` (PR 1301). - Fix assignment into a block of a model variable (PR #1300). - Fix compilation error when using `nimSeq` with integers (PR #1282). - Fix scoping of argument evaluation for `replaceSamplers` method (PR #1287). - Fix a corner case where particular indexing in model code prevents model building (PR #1279). - Fix handling of right-hand side only nodes so not flagged as deterministic (issue #1269). - Error trap and fix a bug in handling particular cases in list-like subsetting (PR #1259). - Make optimDefaultControlList handle default values completely and with consistent compiled and uncompiled behavior. - make nimOptim respect parscale control parameter. - Update manual installation chapter and `INSTALL` links to gfortran on MacOS. ## DEVELOPER LEVEL CHANGES - Take `nimbleCppADbaseClass` out of `libnimble.a` and instead make a session-specific .o file from it to address AD-related crashes on some OSes. (PR #1318) - Remove `nimOptim_model` functionality. This fixes build warning on MacOS involving `nimOptim` (PR #1276). - Update `Eigen` copyright dates. - Fix invisible return of `NULL` in nimbleFunctions without explicit return statements (PR #1254). - Fix inconsistent use of offset in internal conversion functions (PR #1277). - Remove references to unsupported `trace` (issue #1262). # CHANGES IN VERSION 0.13.2 (May 2023) ## DEVELOPER LEVEL CHANGES - Remove code triggering Windows warnings about writing bytes into region of size 0 by modifying `setLength`. - Remove use of C++11 standard, per CRAN requirements. As part of this, replace use of `std::ptr_fun` (PR #1292). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/R-nimble/Makefile \ pkgsrc/math/R-nimble/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1686453886244540 Content-Disposition: inline Content-Length: 1888 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/math/R-nimble/Makefile diff -u pkgsrc/math/R-nimble/Makefile:1.6 pkgsrc/math/R-nimble/Makefile:1.7 --- pkgsrc/math/R-nimble/Makefile:1.6 Sat Mar 11 10:05:26 2023 +++ pkgsrc/math/R-nimble/Makefile Sun Jun 11 03:24:46 2023 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2023/03/11 10:05:26 mef Exp $ +# $NetBSD: Makefile,v 1.7 2023/06/11 03:24:46 mef Exp $ R_PKGNAME= nimble -R_PKGVER= 0.13.1 +R_PKGVER= 1.0.0 MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= MCMC, Particle Filtering, and Programmable Hierarchical Modeling @@ -10,6 +10,8 @@ LICENSE= modified-bsd OR gnu-gpl-v2 OR g DEPENDS+= R-R6-[0-9]*:../../devel/R-R6 DEPENDS+= R-coda>=0.19.3:../../math/R-coda DEPENDS+= R-igraph>=1.2.4.1:../../math/R-igraph +DEPENDS+= R-numDeriv-[0-9]*:../../math/R-numDeriv +DEPENDS+= R-pracma-[0-9]*:../../math/R-pracma TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat Index: pkgsrc/math/R-nimble/distinfo diff -u pkgsrc/math/R-nimble/distinfo:1.6 pkgsrc/math/R-nimble/distinfo:1.7 --- pkgsrc/math/R-nimble/distinfo:1.6 Sat Mar 11 10:05:26 2023 +++ pkgsrc/math/R-nimble/distinfo Sun Jun 11 03:24:46 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2023/03/11 10:05:26 mef Exp $ +$NetBSD: distinfo,v 1.7 2023/06/11 03:24:46 mef Exp $ -BLAKE2s (R/nimble_0.13.1.tar.gz) = 7d108c5dfab341f1b1a99553e5485b7bf044b349d2f14bb15dc0fcf1b843bd0e -SHA512 (R/nimble_0.13.1.tar.gz) = 42c183af879d0706228c73cd0b5f8984682454cef081aaa03cff33afd5f1c7c827b88074336c529e6b717827e873ad10918b203fa2538ef633fe081c9cdde1ec -Size (R/nimble_0.13.1.tar.gz) = 2149097 bytes +BLAKE2s (R/nimble_1.0.0.tar.gz) = 2158c2a08dbffaa494a86273e0a84d4fbcd740feeddfda2ae3ce41cf27181280 +SHA512 (R/nimble_1.0.0.tar.gz) = 1d3bf3c6239455fe21ea4fc6c94a786c843991c4abb1f464a177c5631e0602760ffb1b98a65c03a7c8a58259588b50bcea3d928bf17543de388e56170479d6a6 +Size (R/nimble_1.0.0.tar.gz) = 3060379 bytes --_----------=_1686453886244540--