Re: [Rd] PATCH: install inst/ before doing lazyload on Windows

2007-06-13 Thread Seth Falcon
Seth Falcon [EMAIL PROTECTED] writes:
 On Windows, package files in the inst/ subdir are installed after the
 lazyload creation.  This differs from Linux where inst/ is installed
 _before_ lazyload creation.

 Since packages may need data in inst, I think the order on Windows
 should be changed.  Perhaps like this:

This has been fixed in R devel and patched.

Thanks!

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] PATCH: install inst/ before doing lazyload on Windows

2007-06-12 Thread Seth Falcon
Hi,

On Windows, package files in the inst/ subdir are installed after the
lazyload creation.  This differs from Linux where inst/ is installed
_before_ lazyload creation.

Since packages may need data in inst, I think the order on Windows
should be changed.  Perhaps like this:

diff --git a/src/gnuwin32/MakePkg b/src/gnuwin32/MakePkg
index 57af321..868e8f1 100644
--- a/src/gnuwin32/MakePkg
+++ b/src/gnuwin32/MakePkg
@@ -74,10 +74,10 @@ all:
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s 
nmspace
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg Dynlib 
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s R
+   @$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s 
$(DPKG)/demo $(DPKG)/exec $(DPKG)/inst $(DATA)
 ifeq ($(strip $(LAZY)),true)
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s 
lazyload
 endif
-   @$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s 
$(DPKG)/demo $(DPKG)/exec $(DPKG)/inst $(DATA)
 ifeq ($(strip $(LAZYDATA)),true)
@$(MAKE) --no-print-directory -f $(RHOME)/src/gnuwin32/MakePkg -s 
lazydata
 endif

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel