title: Locked package namespace
body: <p>I am using the "BMA" package in R 3.1.0, and get an error when running one of the functions in the package, <code>iBMA.glm</code>. When running the example in the package documentation:</p>
  
  <pre><code>## Not run:
  ############ iBMA.glm
  library("MASS")
  library("BMA")
  data(birthwt)
  y&lt;- birthwt$lo
  x&lt;- data.frame(birthwt[,-1])
  x$race&lt;- as.factor(x$race)
  x$ht&lt;- (x$ht&gt;=1)+0
  x&lt;- x[,-9]
  x$smoke &lt;- as.factor(x$smoke)
  x$ptl&lt;- as.factor(x$ptl)
  x$ht &lt;- as.factor(x$ht)
  x$ui &lt;- as.factor(x$ui)
  ### add 41 columns of noise
  noise&lt;- matrix(rnorm(41*nrow(x)), ncol=41)
  colnames(noise)&lt;- paste('noise', 1:41, sep='')
  x&lt;- cbind(x, noise)
  iBMA.glm.out&lt;- iBMA.glm( x, y, glm.family="binomial",
  factor.type=FALSE, verbose = TRUE,
  thresProbne0 = 5 )
  summary(iBMA.glm.out)
  </code></pre>
  
  <p>I get the error: </p>
  
  <pre><code>Error in registerNames(names, package, ".__global__", add) : 
    The namespace for package "BMA" is locked; no changes in the global variables list may be made.
  </code></pre>
  
  <p>I get the error in RStudio running R 3.1.0 on Ubuntu. </p>
  
  <p>on Windows 7, from RStudio and the R console I get a similar error:</p>
  
  <pre><code>Error in utils::globalVariables(c("nastyHack_glm.family", "nastyHack_x.df")) : 
    The namespace for package "BMA" is locked; no changes in the global variables list may be made. 
  </code></pre>
  
  <p>I also get the same error when running my own data in the function. I'm not clear on what this error means and how to work around the error to be actually able to use the function. Any advice would be appreciated!</p>