Re: [Rd] R_SHARE_DIR not defined for use in tests/Makefile running under Windows

2008-04-11 Thread Tony Plate
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

Re: [Rd] R_SHARE_DIR not defined for use in tests/Makefile running under Windows

2008-04-11 Thread Prof Brian Ripley
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

[Rd] R_SHARE_DIR not defined for use in tests/Makefile running under Windows

2008-04-07 Thread Tony Plate
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