Skip to content

Package Installation 'Notes' Question

2 messages · McGehee, Robert, Simon Urbanek

#
R Mac users,
I have a couple of Mac-specific curiosities regarding package installation that I thought I'd ask the group. 

First, when installing packages on my Mac (and not elsewhere), I see a bunch of lines saying "Note: no visible binding for global variable 'xyz'" (and the like). A Google search on this phrase seemed to indicate that these notes can appear if one sets the _R_CHECK_USE_CODETOOLS_ variable. As I have not done this (and in fact have tried explicitly setting this variable to FALSE), I'm wondering if anyone knows why I get these extra notes on my Mac only.

Second, a note that scrolls by for one package installation that I find particularly unusual is the following:
Note: possible error in 'updateIds(doc, save = x)':
	Unused argument(s) (save = x)

I've managed to whittle down my package into a single method declaration in the R directory that produces this note.

setMethod("Ops", signature("x", "x"), function(e1, e2) {})

However, there is no 'updateIds' function, and I can't seem to find that function anywhere in the R code base (or mine). Does anyone know what this means, and why I get it? Again, I can't seem to reproduce this on my Linux installation, only Mac.
 
Thanks!
_
platform       x86_64-apple-darwin10.7.0
arch           x86_64
os             darwin10.7.0
system         x86_64, darwin10.7.0
status
major          2
minor          13.0
year           2011
month          04
day            13
svn rev        55427
language       R
version.string R version 2.13.0 (2011-04-13)

## Here's how I build R, in case that matters.
    $BUILDDIR/R-$RVERS/configure r_arch=x86_64 \
    --prefix="$PREFIX/R/R-${RVERS}" \
    --build=$BUILD \
    --with-x --with-aqua=yes --enable-R-framework=no \
    --with-blas='-framework vecLib' --with-lapack  \
    --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include && \
    make bytecode && \
    make install && \

Robert McGehee, CFA
Geode Capital Management, LLC
One Post Office Square, 28th Floor | Boston, MA | 02109
Direct: (617)392-8396

This e-mail, and any attachments hereto, are intended fo...{{dropped:11}}
#
Robert,

I don't think we can help you unless you point us to your package to reproduce the issue. The "no visible binding" message is very common saying that you use unbound variables with often indicates possible bugs (typos etc.).

Cheers,
Simon
On Jun 27, 2011, at 4:10 PM, McGehee, Robert wrote: