-
The
reset
argment ofload_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
eachload_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 yourDESCRIPTION
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 complexpackage =
argument
evaluating toNULL
would cause an error (#266).