From tdhock5 @end|ng |rom gm@||@com  Mon Sep 30 23:25:32 2019
From: tdhock5 @end|ng |rom gm@||@com (Toby Hocking)
Date: Mon, 30 Sep 2019 14:25:32 -0700
Subject: [Rd] R CMD build should fail early for old package versions?
Message-ID: <CALK03d27SFQwEHJrN2QAsUXP56FypY1myciWaxeruyy+OrFkbw@mail.gmail.com>

Hi all,

Today I had an R CMD build that failed while building a vignette because
the vignette needs tidyr (>= 1.0, declared in DESCRIPTION Suggests) but my
system had a previous version installed.

It did not take me too long to figure out the issue (solved by upgrading
tidyr) but it would have been even faster / easier if R CMD build failed
early, with an error message that says something like "Can not build
package XXX because it Suggests: tidyr (>= 1.0) but tidyr 0.8.3 is
installed"

Is that possible?

Toby

	[[alternative HTML version deleted]]



[Rd] R CMD build should fail early for old package versions?
Toby Hocking