Reputation: 107
Is there a way to create r source packages in zip format on mac OS in RStudio? If so how to do that?
When I am trying to build a source package devtools::build()
I am left with tar.gz file. Why not zip? How to force it to create zip?
Anything?
Upvotes: 0
Views: 386
Reputation: 8836
There is no support for zip
(de-)compression in the tar
utility, which build()
uses to bundle the package, and is used when installing a package. Depending on what version you have it can compress with gzip
, bzip2
and compress
algorithms on old versions, and lzma
, lzop
, xz
and lzip
on newer GNU versions.
Hence making a tar.zip
archive would make little sense, as the standard ways of unpacking and installing it would not work.
Upvotes: 2