./devel/R-pkgload, Simulate package installation and attach

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.4, Package name: R-pkgload-1.2.4, Maintainer: pkgsrc-users

Simulates the process of installing a package and then attaching it.
This is a key part of the 'devtools' package as it allows you to
rapidly iterate while developing a package.


Required to run:
[math/R] [devel/R-rlang] [devel/R-withr] [math/R-rstudioapi] [devel/R-rprojroot] [devel/R-desc] [devel/R-pkgbuild]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2022-04-30 02:49:18 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-pkgload) Updated 1.2.1 to 1.2.4

# pkgload 1.2.4

* Lionel Henry is now the maintainer.

* `load_all()` automatically registers package translations, if found.

# pkgload 1.2.3

* pkgload now forces all bindings on unload. This fixes errors and
  inconsistencies when dangling references force lazy bindings after
  unload or reload.

* `load_all()` now restores S3 methods registered by third party
  packages (#163).

* `load_dll()` will now preserve the DLL name when loading instead of
  always using the package name. This allows packages to include DLL's
  with different names (#162, @dfalbel).
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-06-01 15:31:23 by Makoto Fujiwara | Files touched by this commit (2)
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.
   2020-09-20 06:13:53 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-pkgload) Updated 1.0.2 to 1.1.0.  make test fails

# pkgload 1.1.0

* `dev_example()` now works after removing an inconsistent call to `load_all()`
  (@riccardoporreca, #122).

* `load_all()` now issues a warning if exported objects conflict with objects
  defined in the global environment (#112)

* `run_example()` arguments `run` and `test` are deprecated in favor of the
  (hopefully) more clear `run_dontrun` and `run_donttest` (#107).

* Internal fixes for compatibility with the future 4.1.0 release.