From maechler at stat.math.ethz.ch  Tue May 10 17:07:08 2016
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Tue, 10 May 2016 17:07:08 +0200
Subject: [Rd] unloadNamespace problem in 3.3
In-Reply-To: <CABFfbXtTAoL+KDb36Q1k3OM3qce9qGdYjR3U7SLtgkUH-HA1eA@mail.gmail.com>
References: <CABFfbXtTAoL+KDb36Q1k3OM3qce9qGdYjR3U7SLtgkUH-HA1eA@mail.gmail.com>
Message-ID: <22321.63772.186691.200537@stat.math.ethz.ch>

>>>>> 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



[Rd] unloadNamespace problem in 3.3
Martin Maechler