Skip to content

Commit

Permalink
(devel/R-pkgload) Updated 1.2.4 to 1.3.2
Browse files Browse the repository at this point in the history
# pkgload 1.3.2

* Fixes for CRAN checks.


# pkgload 1.3.1

* `dev_topic_find()` is now exported (#215).

* `dev_help()` will remind you to run `pkgload::load_all()` if no
  in-development packages are found (#221).

* Shimmed `?` now works even if you've renamed the documentation topic (#220).

* `dev_help()` now works with an RStudio daily to deliver a rendered
  development documentation that includes working images and links (#228).


# pkgload 1.3.0

* `load_all()` now calls `rlang::check_installed()` to prompt whether
  to install missing packages.

  Outdated and missing dependencies are installed using pak if
  installed. If not, the remotes package is used if installed.
  Otherwise `install.packages()` is used as a last resort but this
  method does not support Remotes fields.

* `load_all()` gains an `attach` argument set to `TRUE` by default (#209).
  If set to `FALSE`, `load_all()` creates a new namespace but doesn't
  create a package environment on the search path. In this case, it is
  more similar to `loadNamespace()` than to `library()`.

* Improved the way help pages are displayed in RStudio. This makes the
  behaviour within and outside RStudio consistent and fixes issues
  with Rd macros (#120).

* `unregister()` is now exported. This is a gentler version of
  `unload()` which removes the package from the search path,
  unregisters methods, and unregisters the namespace. However it
  doesn't try to unload the namespace or its DLL so that dangling
  references keep working.

* User `onLoad` hooks are now run after exports have been
  populated. This allows the hook to use exported functions.

* The loaded namespace is now locked just before user `onLoad` hooks
  are run. This better reproduced the namespace sealing behaviour of
  regular loading.

  The package environment environment is now locked as well before
  both the user and package `onAttach` hooks are run.

* Added support for loading a .so or .dll file from the `inst`
  folder via a new `library.dynam()` shim (@ethanplunkett, #48).

* The `system.file()` shim now fails if you supply a path that starts
  with `inst` to better reproduce the behaviour with installed
  packages (#104).

* `load_all()` now imports its dependencies lazily to avoid parallel
  installation issues (#89).

* Unknown Rd macros no longer trigger a warning when building the
  package topic index (#119).

* `load_all(compile = TRUE)` now forces a full recompilation (#93).

* The advice about running `rm()` to remove conflicts with objects in
  the global environment is now clickable in RStudio (#199).

* New `is_loading()` predicate to detect whether `load_all()` is
  currently running (#134).

* `.dynLibs()` is no longer emptied when package with no DLL is
  unloaded (#176).

* The `?` shim no longer interprets `?"/"` as a path (#198).

* rstudioapi is no longer a hard dependency of pkgload (#187).

* Errors thrown in user hooks are now demoted to a warning
  condition. Previously they were demoted using `try()`, making it
  harder to debug them.

* `load_all()` correctly re-loads modified translations, avoiding
  the usual gettext behaviour.
  • Loading branch information
mef committed Dec 17, 2022
1 parent 3e045aa commit c380450
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/R-pkgload/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2022/04/30 00:49:18 mef Exp $
# $NetBSD: Makefile,v 1.5 2022/12/17 15:29:58 mef Exp $

R_PKGNAME= pkgload
R_PKGVER= 1.2.4
R_PKGVER= 1.3.2
CATEGORIES= devel

MAINTAINER= pkgsrc-users@NetBSD.org
Expand Down
8 changes: 4 additions & 4 deletions devel/R-pkgload/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2022/04/30 00:49:18 mef Exp $
$NetBSD: distinfo,v 1.7 2022/12/17 15:29:58 mef Exp $

BLAKE2s (R/pkgload_1.2.4.tar.gz) = a5f3858e8e3bda640757ff45af32ef5d2b9f22b0cff52e7c47a859cbef82d1c0
SHA512 (R/pkgload_1.2.4.tar.gz) = 5cc6c790c3fd77e938d5aacb841a2a416666ae8fdee09e5eefb54bd87fac1c912beecf8f3239f1dc3258103f90c2e4d5fcb8f27402a60fe280da70bb99892661
Size (R/pkgload_1.2.4.tar.gz) = 62827 bytes
BLAKE2s (R/pkgload_1.3.2.tar.gz) = d82dc703242249a0d8b4b1493b6e14e28bc6bb45daa3c724591d63a6685b2996
SHA512 (R/pkgload_1.3.2.tar.gz) = 4a219d78cea2632278cc129b747dc859261e92763eb71dadc2831171ba035cbb870bfdcd060b4fe3596f3dad097a3064c694443191e132a1fcabadd5cb2bdef1
Size (R/pkgload_1.3.2.tar.gz) = 76704 bytes

0 comments on commit c380450

Please sign in to comment.