Received: by mail.netbsd.org (Postfix, from userid 605) id 0147484DAC; Tue, 1 Jun 2021 13:31:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3B86384CFC for ; Tue, 1 Jun 2021 13:31:24 +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 A0YEWgsN9mht for ; Tue, 1 Jun 2021 13:31:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8C84484CE0 for ; Tue, 1 Jun 2021 13:31:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 8609DFA95; Tue, 1 Jun 2021 13:31:23 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1622554283174220" MIME-Version: 1.0 Date: Tue, 1 Jun 2021 13:31:23 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/devel/R-pkgload To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20210601133123.8609DFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1622554283174220 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: mef Date: Tue Jun 1 13:31:23 UTC 2021 Modified Files: pkgsrc/devel/R-pkgload: Makefile distinfo Log Message: (devel/R-pkgload) Updated 1.1.0 to 1.2.1 # pkgload 1.2.1 * `unload()` no longer unregisters methods for generics of the package being unloaded. This way dangling references to generics defined in the stale namespace still work as expected (r-lib/vctrs#1341). * `load_all()` will now work for packages that have testthat tests but do not have testthat installed (#151) * The `pkgbuild` dependency has been moved to `Suggests`, as it is only needed for packages with compiled code. * `load_all()` will now work for packages that have testthat tests but do not have testthat installed (#151) * `load_all(warn_conflicts = TRUE)` becomes more narrow and only warns when a *function* in the global environment masks a *function* in the package, consistent with the docs (#125, #143 @jennybc). * `load_all()` no longer does a comprehensive check on the `DESCRIPTION` file when loading, instead just checking that it exists and starts with Package (#149, @malcolmbarrett) * `unload()` no longer warns when it can't unload a namespace. # pkgload 1.2.0 * Fix test failure in R 4.1 with regards to S4 method registration * `load_all()` now preserves existing namespaces in working order. In particular, it doesn't unload the package's shared library and keeps it loaded instead. When reloading, a copy of the SO for the new namespace is loaded from a temporary location. These temporary SOs are only unloaded on GC and deleted from their temporary location via a weak reference attached to the namespace. This mechanism ensures that lingering references to the namespace keep working as expected. Consequently the namespace propagation routine that was added to pkgload as a workaround has been removed. Note that `.Call()` invocations that pass a string symbol rather than a structured symbol may keep crashing, because R will look into the most recently loaded SO of a given name. Since symbol registration is now the norm, we don't expect this to cause much trouble. * `load_all()` no longer forces all bindings of a namespace to avoid lazy-load errors. Instead, it removes exported S3 methods from the relevant tables. - This improves the loading behaviour with packages that define objects in their namespaces lazily (e.g. with `delayedAssign()`). - This also makes `load_all()` more predictable after a method has been removed from the package. It is now actually removed from the generic table. It would previously linger until R was restarted. * If `load_all()` attaches testthat, it automatically suppresses conflicts. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/R-pkgload/Makefile \ pkgsrc/devel/R-pkgload/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1622554283174220 Content-Disposition: inline Content-Length: 1598 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/R-pkgload/Makefile diff -u pkgsrc/devel/R-pkgload/Makefile:1.2 pkgsrc/devel/R-pkgload/Makefile:1.3 --- pkgsrc/devel/R-pkgload/Makefile:1.2 Sun Sep 20 04:13:53 2020 +++ pkgsrc/devel/R-pkgload/Makefile Tue Jun 1 13:31:23 2021 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2020/09/20 04:13:53 mef Exp $ +# $NetBSD: Makefile,v 1.3 2021/06/01 13:31:23 mef Exp $ R_PKGNAME= pkgload -R_PKGVER= 1.1.0 +R_PKGVER= 1.2.1 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org Index: pkgsrc/devel/R-pkgload/distinfo diff -u pkgsrc/devel/R-pkgload/distinfo:1.2 pkgsrc/devel/R-pkgload/distinfo:1.3 --- pkgsrc/devel/R-pkgload/distinfo:1.2 Sun Sep 20 04:13:53 2020 +++ pkgsrc/devel/R-pkgload/distinfo Tue Jun 1 13:31:23 2021 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2020/09/20 04:13:53 mef Exp $ +$NetBSD: distinfo,v 1.3 2021/06/01 13:31:23 mef Exp $ -SHA1 (R/pkgload_1.1.0.tar.gz) = 453a2e8c8b40cb16fda642eac9fc0ce3330510fd -RMD160 (R/pkgload_1.1.0.tar.gz) = 937999463ab39f88111dfc9308cf5417ea080327 -SHA512 (R/pkgload_1.1.0.tar.gz) = 0e1fd0954ed303a168d35d99e2cbe2a07f53afa6c16f463aacacecc1364944a3532c505deff0667caa4773204de60c0d9a286d060c7c07b56eb8ae2dff5dc8ee -Size (R/pkgload_1.1.0.tar.gz) = 58046 bytes +SHA1 (R/pkgload_1.2.1.tar.gz) = d5a365e3ad0da30e37f2216112544e6c3f83cbaa +RMD160 (R/pkgload_1.2.1.tar.gz) = b4a54b19c16c9b9378cc1acc4c6d10594b330ed1 +SHA512 (R/pkgload_1.2.1.tar.gz) = c80c532a23db99ffd0624673d6a7debcd12850df78cc669c6a91ddcc3be6085999d200b8d005e8a839ae0d33862af56589e887dff194a375566ae672836ffe57 +Size (R/pkgload_1.2.1.tar.gz) = 60651 bytes --_----------=_1622554283174220--