tor, 23 07 2009 kl. 13:38 +0200, skrev Thomas Weber: > On Thu, Jul 23, 2009 at 12:40:46PM +0200, Søren Hauberg wrote: > > tor, 23 07 2009 kl. 12:32 +0200, skrev Thomas Weber: > > > the statistics package contains a few data files in a test/ directory. > > > Shouldn't these files be part of the tarball, i.e. moved into inst/ ? > > > Without them, tests for e.g. caseread.m fail. > > > > I think we should have some way of allowing data to be shipped along > > with packages. I would like to distribute a few images with the 'image' > > package that I could use in demos. Right now I'm using synthetic images, > > which is really boring. > > > > Perhaps packages should be allowed to have a 'data' directory along with > > 'inst' and 'doc'? I think this would be better than storing both code > > and data in the same directory. > > Keep in mind that the code must be able to find the files. So, if you > want a separate directory, I'd prefer a sub-directory of inst/.
I wouldn't object to having a 'inst/data' directory, but is that easier to locate from within the code? Søren ------------------------------------------------------------------------------ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
