I am developing a package that is only applicable on windows, is there a line I can put in the depends field of the DESCRIPTION file to tell that this should only be build for windows? Are there any other protocols that I should follow? Thanks, -- Andrew May the Open Source be with you. [[alternative HTML version deleted]]
On Fri, Mar 22, 2013 at 9:44 AM, Andrew Redd <amredd at gmail.com> wrote:> I am developing a package that is only applicable on windows, is there a > line I can put in the depends field of the DESCRIPTION file to tell that > this should only be build for windows? >OS_type: windows See RShowDoc("R-exts") Section 1.1.1 The DESCRIPTION file, search for OS_type. Dan> Are there any other protocols that I should follow? > > Thanks, > > -- > Andrew > May the Open Source be with you. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
On 22 March 2013 at 10:44, Andrew Redd wrote:
| I am developing a package that is only applicable on windows, is there a
| line I can put in the depends field of the DESCRIPTION file to tell that
| this should only be build for windows?
There is a different field for this. From Section 1.1.1 of you-know-what:
The `OS_type' field specifies the OS(es) for which the package is
intended. If present, it should be one of `unix' or `windows', and
indicates that the package can only be installed on a platform with
`.Platform$OS.type' having that value.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com