You'll want to examine the note on the SystemRequirements field for the DESCRIPTION file in the same link as before. Actually maybe you should spend some time reading through that documentation - it's a bit dry but will get you more familiar with what's possible.
-Dason Kurkiewicz On Jul 7, 2017 9:31 AM, "Disa Mhembere" <d...@jhu.edu> wrote: 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 <das...@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-proj > ect.org/doc/manuals/r-release/R-exts.html#The-DESCRIPTION-file > > -Dason Kurkiewicz > > On Jul 7, 2017 1:30 AM, "Disa Mhembere" <d...@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@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-package-devel >> > [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel