Skip to content

Commit

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

* The `reset` argment of `load_all()` is no longer supported because preserving
  the namespace requires unlocking its environment, which is no longer possible
  in recent versions of R. It should no longer be necessary as the performance
  issues caused by resetting the namespace were resolved a while ago.

* New experimental feature for generating a `compile_commands.json` file after
  each `load_all()`. This file is used by LSP servers such as clangd to provide
  intellisense features in your native files. To enable it, add this directive
  to your `DESCRIPTION` file:

  ```
  Config/build/compilation-database: true
  ```

  You'll also want to add `compile_commands.json` and `.cache` to your gitignore
  and Rbuildignore files.

  To accomplish all these steps, feel free to use the unexported function
  `pkgload:::use_compilation_db()`. It will eventually be exported from the
  usethis package.

* `load_all()` now includes a link to the exact location when loading failed (@olivroy, #282).

* User onload hooks are now passed a library path.

* Fixed an error when updating packages on load (@olivroy, #261).

* Fixed a bug in `shim_help()` where a complex `package = ` argument
  evaluating to `NULL` would cause an error (#266).
  • Loading branch information
mef committed Oct 19, 2024
1 parent 5b6d1cc commit acac588
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 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.10 2024/01/22 03:23:15 mef Exp $
# $NetBSD: Makefile,v 1.11 2024/10/19 22:41:03 mef Exp $

R_PKGNAME= pkgload
R_PKGVER= 1.3.4
R_PKGVER= 1.4.0
CATEGORIES= devel

MAINTAINER= [email protected]
Expand All @@ -10,6 +10,7 @@ LICENSE= gnu-gpl-v3

DEPENDS+= R-desc>=1.2.0:../../devel/R-desc
DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
DEPENDS+= R-lifecycle-[0-9]*:../../devel/R-lifecycle
DEPENDS+= R-pkgbuild>=1.0.4:../../devel/R-pkgbuild
DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang
DEPENDS+= R-rprojroot>=1.3.2:../../devel/R-rprojroot
Expand All @@ -25,6 +26,7 @@ TEST_DEPENDS+= R-mockr-[0-9]*:../../devel/R-mockr
TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak
TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-usethis-[0-9]*:../../devel/R-usethis

# !pdfTeX error: pdflatex (file tctt0900): Font tctt0900 at 600 not found
TEST_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
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.9 2024/01/21 23:33:24 mef Exp $
$NetBSD: distinfo,v 1.10 2024/10/19 22:41:03 mef Exp $

BLAKE2s (R/pkgload_1.3.4.tar.gz) = 3142fdf55bd4fccb26fa5c04a5a17b3d83719221beea0f5e866242bd1f58068f
SHA512 (R/pkgload_1.3.4.tar.gz) = c2bf74ae4bb279c2bb2c0a95d6170dba1534c092448adea9fe9623508438cfd9e1f9e0f1a5ccf4b16417532b89de8cb21a6ebc32c0ce7e6b1846fea3bb6a9850
Size (R/pkgload_1.3.4.tar.gz) = 78189 bytes
BLAKE2s (R/pkgload_1.4.0.tar.gz) = d09517fb0751e992d76727da9d9f4fb6dff85ac23c486bda96814931b484bde8
SHA512 (R/pkgload_1.4.0.tar.gz) = 22737aeeb42533bf566ee114d79cbbd67c01098632bf924c9fb5a14e989db0ec546cce6ad48b1e10f2bebaea99606ce91d35c9c2a5ba326c51121da20fcbe02a
Size (R/pkgload_1.4.0.tar.gz) = 85664 bytes

0 comments on commit acac588

Please sign in to comment.