Ok, thanks for the info.
The reason I'm asking about this is that I'm trying to eliminate reasons for
having a Makefile.win to accompany a Makefile in the tests directory of a
package. I guess I can have /tests/Makefile conditionally set R_SHARE_DIR
to $(R_HOME)/share if it is undefined. (asi
You seem to be confusing environment and make variables. I think
'$(R_SHARE_DIR)' is never set by R makefiles (except when building R), but
may be set by make from an environment variable.
On all (recentish) systems where the share dir is not ${R_HOME}/share,
${R_SHARE_DIR} is set by the 'R' s
The make variable $(R_SHARE_DIR) seems to be available for use in
tests/Makefile when running under Linux, but not Windows (R-2.6.2, R-2.6.1,
R-2.7.0 alpha 2008-04-06, under Windows XP 64 bit, built locally for 32 bit).
Is this intentional, or an oversight? Is it OK to use $(R_HOME)/share
inst