[Rd] unloadNamespace problem in 3.3

Martin Maechler maechler at stat.math.ethz.ch
Tue May 10 17:07:08 CEST 2016


>>>>> Jeroen Ooms <jeroen.ooms at stat.ucla.edu>
>>>>>     on Tue, 10 May 2016 16:39:08 +0200 writes:

    > The following used to work in R 3.2.5 but not in 3.3.0:
    > library(MASS)
    > ns <-.getNamespace("MASS")
    > unloadNamespace(ns)

or simply
     
    ns <- getNamespace("MASS") ; unloadNamespace(ns)

yes, indeed.   That's a bug.

    > Calling unloadNamespace("MASS") directly still works.

which seems to have been the main use, and the only one  used
in any R package on CRAN or Bioconductor, or else we would have
heard about it, long before release, .., right?

This is from the change,

  r70262 | maechler | 2016-03-02 12:36:19
  ------
  unloadNamespace() no longer loads & unloads an unloaded namespace - fixing PR#16731 

and so I will fix it  ASAP.

Thank you, Jeroen, for the report!
Martin



More information about the R-devel mailing list