[R-pkg-devel] Question about selective platform for my R package

Disa Mhembere disa at jhu.edu
Fri Jul 7 15:31:01 CEST 2017


Super -- exactly what I needed!
My other question was how to define OS level dependencies like `hwloc` for
linux that is obtainable via the system package manager?

Thanks,
- Disa

On Fri, Jul 7, 2017 at 1:41 AM, Dason Kurkiewicz <dasonk at gmail.com> wrote:

> What you want is to specify the OS_type in your DESCRIPTION file. This is
> documented in writing R extensions https://cran.r-
> project.org/doc/manuals/r-release/R-exts.html#The-DESCRIPTION-file
>
> -Dason Kurkiewicz
>
> On Jul 7, 2017 1:30 AM, "Disa Mhembere" <disa at jhu.edu> wrote:
>
>> Hello,
>>
>> I made an R package that is specifically for OSX and Linux, and not
>> Windows. I pass all checks locally on these platforms, but when I upload
>> my
>> package to CRAN the system tries to compile my code on a Windows box which
>> obviously results in an error. What is the traditional method of
>> specifying
>> supported OSes and getting around this?
>>
>> Thanks in advance,
>> Disa
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-package-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list