Skip to content
Prev 1008 / 12125 Next

[R-pkg-devel] Handling Not-Always-Needed Dependencies?

On 03/08/2016 2:03 PM, Dirk Eddelbuettel wrote:
No, you are reading something into my messages that isn't there.  I 
think I understand your suggestion now (CRAN should test with no 
Suggested packages present, not with all of them present).  That is less 
work than they currently do.

I disagree with your suggestion for two reasons.

1. I think it would lead to less effective testing.

As Uwe said, tests would skip code that only runs when Suggested 
packages are present.  I think it would almost certainly lead to less 
code coverage in the tests.

2. It would be disruptive during the transition.

We could work around this by putting together a standard way for a 
package to indicate that some functionality is not available, without 
triggering an error, and the check code could ignore those messages when 
testing with missing Suggested packages.

Actually, I think I am the one who is suggesting the creation of more 
work.  In particular, I suggested you should do some work to address 
point 2 above.  I have also suggested that CRAN should test both with 
and without Suggested packages, which is obviously more work for the 
test machines, but also more work for whoever sets up the new testing code.

My hope is to spread the work out to package submitters, or people on 
this list, rather than on two or three people at CRAN.
There are no powers, there are only overworked volunteers.

Duncan Murdoch

Thread (34 messages)

Thomas J. Leeper Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Joshua Ulrich Handling Not-Always-Needed Dependencies? Aug 2 Thomas J. Leeper Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Kevin Ushey Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Thomas J. Leeper Handling Not-Always-Needed Dependencies? Aug 2 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Hadley Wickham Handling Not-Always-Needed Dependencies? Aug 2 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 2 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 2 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 2 Mark van der Loo Handling Not-Always-Needed Dependencies? Aug 3 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Mark van der Loo Handling Not-Always-Needed Dependencies? Aug 3 Thomas J. Leeper Handling Not-Always-Needed Dependencies? Aug 3 Uwe Ligges Handling Not-Always-Needed Dependencies? Aug 3 Uwe Ligges Handling Not-Always-Needed Dependencies? Aug 3 Uwe Ligges Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Uwe Ligges Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Uwe Ligges Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 3 Dirk Eddelbuettel Handling Not-Always-Needed Dependencies? Aug 3 Duncan Murdoch Handling Not-Always-Needed Dependencies? Aug 4