Skip to content
Prev 6292 / 63421 Next

creating packages for Mac

OK, a boneheaded question ...

  I've made a set of packages for my students.
  I'm serving these packages from my web site in the form of a set of
tar.gz source packages (constructed with R CMD build) and a set of .zip
Windows binary packages, constructed by cross-compiling according to Brian
Ripley's instructions (make pkg-foo in the src/gnuwin32 directory) and
then zipping up the directories.
  Now I'm wondering what to do for my students with Macs (besides insist
that they work on PCs).  For the most part my packages *don't* really
contain compiled binary information, and I'm not really planning on trying
to cross-compile Mac binaries on Linux (ugh).  All I really want to do is
provide the packages in a form that the students can unzip (or whatever)
reasonably simply.  I could try to look at the form in which the Mac stuff
is provided and replicate that file structure (which would also mean
finding a Linux application to create Stuffit archives), but I'm not sure
where to start.
  I guess the other possibility is convincing one of my students to
download the machinery for creating binary from source packages on their
machines.

  Any ideas?  Has anyone done this?

 Ben