Re: [Rd] Conditional importFrom (roxygen?)

2015-10-04 Thread Duncan Murdoch
On 04/10/2015 7:34 PM, Ben Bolker wrote: > Duncan Murdoch gmail.com> writes: > >> >> On 04/10/2015 10:10 AM, Jonathan Greenberg wrote: >>> Folks: >>> > > [snip snip snip] > >>> >>> Is there a way to do a conditional importFrom based on the OS? Or can I >>> safely ignore this (I'm trying to sub

Re: [Rd] Conditional importFrom (roxygen?)

2015-10-04 Thread Ben Bolker
Duncan Murdoch gmail.com> writes: > > On 04/10/2015 10:10 AM, Jonathan Greenberg wrote: > > Folks: > > [snip snip snip] > > > > Is there a way to do a conditional importFrom based on the OS? Or can I > > safely ignore this (I'm trying to submit to CRAN). > > > > Yes, you can put condition

Re: [Rd] Conditional importFrom (roxygen?)

2015-10-04 Thread Duncan Murdoch
On 04/10/2015 10:10 AM, Jonathan Greenberg wrote: > Folks: > > I am getting a build failure when I: > #' @importFrom utils shortPathName > > which roxygenizes it to the NAMESPACE. > > I suspect this is because this particular function is Windows-only, but I'm > a bit confused how I should "prope

[Rd] Conditional importFrom (roxygen?)

2015-10-04 Thread Jonathan Greenberg
Folks: I am getting a build failure when I: #' @importFrom utils shortPathName which roxygenizes it to the NAMESPACE. I suspect this is because this particular function is Windows-only, but I'm a bit confused how I should "properly" importFrom a function like this so it doesn't cause a build fai