Skip to content

Commit

Permalink
version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- authored and cran-robot committed Jun 28, 2024
1 parent 7169021 commit 5f60ddc
Show file tree
Hide file tree
Showing 23 changed files with 1,420 additions and 139 deletions.
16 changes: 8 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pkgload
Title: Simulate Package Installation and Attach
Version: 1.3.4
Version: 1.4.0
Authors@R: c(
person("Hadley", "Wickham", role = "aut"),
person("Winston", "Chang", role = "aut"),
Expand All @@ -17,18 +17,18 @@ License: GPL-3
URL: https://github.com/r-lib/pkgload, https://pkgload.r-lib.org
BugReports: https://github.com/r-lib/pkgload/issues
Depends: R (>= 3.4.0)
Imports: cli (>= 3.3.0), crayon, desc, fs, glue, methods, pkgbuild,
rlang (>= 1.1.1), rprojroot, utils, withr (>= 2.4.3)
Suggests: bitops, covr, mathjaxr, mockr, pak, Rcpp, remotes,
rstudioapi, testthat (>= 3.1.0)
Imports: cli (>= 3.3.0), desc, fs, glue, lifecycle, methods, pkgbuild,
processx, rlang (>= 1.1.1), rprojroot, utils, withr (>= 2.4.3)
Suggests: bitops, jsonlite, mathjaxr, pak, Rcpp, remotes, rstudioapi,
testthat (>= 3.2.1.1), usethis
Config/Needs/website: tidyverse/tidytemplate, ggplot2
Config/testthat/edition: 3
Config/testthat/parallel: TRUE
Config/testthat/start-first: dll
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
NeedsCompilation: no
Packaged: 2024-01-16 10:14:57 UTC; lionel
Packaged: 2024-06-28 10:36:56 UTC; lionel
Author: Hadley Wickham [aut],
Winston Chang [aut],
Jim Hester [aut],
Expand All @@ -38,4 +38,4 @@ Author: Hadley Wickham [aut],
R)
Maintainer: Lionel Henry <lionel@posit.co>
Repository: CRAN
Date/Publication: 2024-01-16 12:20:04 UTC
Date/Publication: 2024-06-28 11:30:02 UTC
40 changes: 22 additions & 18 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,36 +1,40 @@
59d7d73665a88748727dbb3119c4bccc *DESCRIPTION
ac6e76eed9be97a67b405109d401b121 *DESCRIPTION
6e6e3c7e91956aee9c18f6e7fc0955d9 *NAMESPACE
200e6d219cabcfa3d142dbb29cad6210 *NEWS.md
57d3d791fbd9bb1b4c4edf4f3d546f3a *NEWS.md
a9cebe46e41ae836bd6d65f9aa5393b6 *R/aaa.R
e2891f1a6acc1980708b7f4fc9f18321 *R/compilation-db.R
b711d0c3c4964e4191e2bd766b5ba0a3 *R/dev-example.R
4dee1fdf259c764367f0c185afad8785 *R/dev-help.R
94131ee3b1ba3627fdccf4ea5ab50a98 *R/dev-help.R
755a2937d012aacc7e77e730933a5dec *R/dev-meta.R
514c450e1c40875082e9df90fdf5671a *R/dev-topic.R
ce8cd86bf8ce6af5800835dc5dd519a6 *R/enc.R
ec20041c1e398e82c95c105a8ea8b542 *R/file-cache.R
a37296942d3237fc411927c2715dd184 *R/has_tests.R
c80a9eb1427c585807cecf618b6f3870 *R/import-standalone-obj-type.R
c40f882046a958444c6058a9e2cb9a3b *R/import-standalone-types-check.R
0a48cbbfd58277c193859a40f9404853 *R/imports-env.R
3828ece4f7f3d42bb62e7c5e117ea995 *R/inst.R
8fa669e74e0f4916df7686321d923a31 *R/load-code.R
39dc14e21ff57b1e6e32508f8f2b51b0 *R/load-data.R
fd8a7cb567e20b4434550dd10ee6e416 *R/load-depends.R
05a25f08cdd83535a79bcb70f5e64f54 *R/load-dll.R
0d56e3b5ea9817db6c4467002d7be8b8 *R/load.R
7390966948534b729e6e32628761d428 *R/load.R
ac982054388305b5afa5717a2d12e2d2 *R/namespace-env.R
f9db8ae5cd99895304507048c9509071 *R/package-deps.R
ccf293f47ee37293865547187c888bcc *R/package-deps.R
2232496418fc1708ac4600ab304a0924 *R/package-env.R
5f658a4aed9eec98ecf2f3a2c25b8773 *R/package.R
df6cc46bc7fae1a55b713f3d5065b35a *R/pkgload-package.R
4d64aeb23d01abfff5142422d92c9fa1 *R/po.R
125cb55469aaa50ff1ac46646b26136c *R/remove-s4-class.R
0ced33eefbc13142be6566ac8e18fd83 *R/run-loadhooks.R
6d0443995c32a1e72de5d74388545748 *R/run-loadhooks.R
54e02054014a0b7398ebc6aead1d6df7 *R/shims.R
9925453b25c2f5042abb50ab70e62169 *R/source.R
3a537b358333d8e81b4fbda255f0b2c7 *R/source.R
5d5f2a38777a41ae45e3e67418585497 *R/unload.R
137830b86402ceb34b9019ab1233dd75 *R/utils.R
fe8c9a4362aade4e28ec182fa8a7231f *R/utils.R
12ab111490aead6e6fd41fbebd1ab65e *R/zzz.R
640486097e1f539947846012132def05 *README.md
04a4c539154069ec2326a98e04179aa1 *inst/WORDLIST
a5bc93105c558fb4c4a6e1d10fefab33 *inst/print-var.mk
a40bb554c32ce17f55d37d85abebb147 *man/check_dep_version.Rd
4e6de018cc978094a65295459492b9f8 *man/check_suggested.Rd
482d2f6a8126e4852e5449c59d1ce850 *man/dev_example.Rd
Expand All @@ -41,7 +45,7 @@ f4cb71a738a19d7faf830356987aeb6a *man/dev_meta.Rd
0b35e94d0d9c41a063dd1eeeac896ede *man/imports_env.Rd
4d8665b10c04cb52076442c04afd9bf9 *man/inst.Rd
7f8113aa325da659a584cf4e1c271c97 *man/is_dev_package.Rd
dc4069c40c91d1976609b0f379938484 *man/load_all.Rd
a9754527dca4b5450734f6f6c9490f77 *man/load_all.Rd
188e92c4598432b3ff73aa2be058d5f9 *man/load_code.Rd
4db07fb8c690e3cda83646a9f5057a00 *man/load_data.Rd
be0f8d58b442e1f1642702e75942a224 *man/load_dll.Rd
Expand All @@ -67,29 +71,29 @@ f67e988186d3f7d6eab6c28b11020c84 *tests/testthat/_snaps/load-hooks.md
c10340d9ed31dc4a45e72f623f2db756 *tests/testthat/_snaps/load.md
a4db6c98dc5f031a8cc9ae5bce6a1ea1 *tests/testthat/_snaps/namespace.md
533ed49a49a795bb528f4a98869b51c7 *tests/testthat/_snaps/shim.md
b00dc7d60a4d115e9981a53d10e8d947 *tests/testthat/_snaps/source.md
49bbe330b2db3b4dc51cc13c1b159369 *tests/testthat/helper-pkgload.R
083d488e2e0b12d932f245b3113a4dbe *tests/testthat/_snaps/source.md
14f690a55f7bc5eff5219a5d4d6b1172 *tests/testthat/helper-pkgload.R
af016f4046099da698799964e6752591 *tests/testthat/test-data.R
58b20635c623a7ab9e3ec2584e07b9e2 *tests/testthat/test-depend.R
a85767268aa03d548d58b0d26a186356 *tests/testthat/test-description.R
82c65fb020defb2c3a6441d569ef0a24 *tests/testthat/test-dll.R
845cf978d0c00ac435d44986789ab21f *tests/testthat/test-dll.R
f2586ce34c024ca249c7c17bb3ac4cdb *tests/testthat/test-examples.R
68b8dab49b36ee11bf2f30de68827d80 *tests/testthat/test-examples.Rd
0c09f6fa25a934bc5f2979f72c6dbdc7 *tests/testthat/test-extraction.R
5f3d6eb6db51c4102ed61a7a2f287ff1 *tests/testthat/test-help.R
0694603c626b044b75bad4a9d61c3997 *tests/testthat/test-help.R
ac412c1dad59cccc65c56086482b8cb9 *tests/testthat/test-imports.R
132005f7a0c52a1f74f0f3177b1384c6 *tests/testthat/test-load-collate.R
f96c8bbdaab2c2935e2139a92034dffa *tests/testthat/test-load-hooks.R
0d25ada93a9cfe36146b856228f83c18 *tests/testthat/test-load.R
08bc307e219448b12c132fb256ad3318 *tests/testthat/test-metadata.R
b33b71eb85c46e842b8043971662acb8 *tests/testthat/test-load-hooks.R
b95940f0bdad8a780a797c2b08c6eb8a *tests/testthat/test-load.R
0e2766c20bcda0c8c14676af8541baa3 *tests/testthat/test-metadata.R
feaa92922478581bc74fd251988fd129 *tests/testthat/test-namespace-env.R
4f6fdcfd1fcc9a3fd920cf3cb2653e7f *tests/testthat/test-namespace.R
b07b0f362363449e8d55be5f261cf627 *tests/testthat/test-package.R
d903ff32269a01f8271070f1c8efc2b5 *tests/testthat/test-po.R
df154e244bbb3d5b9fc2b668bb4d7efd *tests/testthat/test-s4-export.R
0d50cbb94b8411716ea3e1a1cab50746 *tests/testthat/test-s4-sort.R
b393488b25f862302b68372af56a40e8 *tests/testthat/test-s4-unload.R
674160a819fcef8ee4aff765970031b6 *tests/testthat/test-shim.R
cd026e70ce47ec98ee7557943d797830 *tests/testthat/test-s4-unload.R
011cb70fb8e2b9ff6f4045472baeed52 *tests/testthat/test-shim.R
487b74962ef4b5686b3a50a021b02154 *tests/testthat/test-source.R
979afb1639765c44e170b164759ce085 *tests/testthat/testActiveBindings/DESCRIPTION
9c9114e191dfc8c4face36bca76c5648 *tests/testthat/testActiveBindings/NAMESPACE
Expand Down
33 changes: 33 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
# 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).


# pkgload 1.3.4

* On load, pkgload now sets `PKGLOAD_PARENT_TEMPDIR` to the temporary
Expand Down
Loading

0 comments on commit 5f60ddc

Please sign in to comment.