[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging Q: package tests have dependencies



hi,

On 15/09/2015 8:16 am, Julien Puydt wrote:
> Hi,
> 
> Le 14/09/2015 21:42, Jonathon Love a écrit :
>> hi,
>>
>> i'm working on packaging the BayesFactor R package, but the first line
>> in it calls
>>
>> library(testthat)
>>
>> this isn't needed by the package, and so isn't listed as a dependency.
>> do i need to add this as a dependency, just for the tests?
>>
>> with thanks
>>
>> jonathon
>>
> 
> I would say yes, as you're supposed to run the tests as part of the
> build process.
> 
> Snark on #debian-science
> 

thanks. so i would only put it in build dependencies (source
dependencies), and not the dependency for the binary?

with thanks

jonathon

-- 

JASP - A Fresh Way to Do Statistics
http://jasp-stats.org/

--

How happy is he born and taught,
That serveth not another's will;
Whose armour is his honest thought,
And simple truth his utmost skill

This man is freed from servile bands
Of hope to rise, or fear to fall:
Lord of himself, though not of lands,
And, having nothing, yet hath all.

  -- Sir Henry Wotton


Reply to: