Build a package for R