From csardi.gabor at gmail.com  Mon Dec  8 21:38:06 2014
From: csardi.gabor at gmail.com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Mon, 8 Dec 2014 15:38:06 -0500
Subject: [Rd] CRAN packages mis-using \donttest : falsy
In-Reply-To: <54860AF2.6050509@gmail.com>
References: <E1Xxxaa-0002Jr-S8@gannet.stats.ox.ac.uk>
	<CABtg=K=CjWEOO-TCDimERxS6a79oL+Kw=BYtFxy4PbHjH_5POQ@mail.gmail.com>
	<54860AF2.6050509@gmail.com>
Message-ID: <CABtg=K=A9h4Why19-dy_dWHWbJoR8iKUAUL_1gbk8LawQKvpDg@mail.gmail.com>

On Mon, Dec 8, 2014 at 3:32 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
[...]
> Why not declare colorspace as a "Suggests:" kind of dependency?

I guess that is a solution. :/

In another example in the 'disposables' package I have:

\donttest{
 pkg <- make_packages(
   foo1 = { f <- function() print("hello!") ; d <- 1:10 },
   foo2 = { f <- function() print("hello again!") ; d <- 11:20 }
 )
   foo1::f()
   foo2::f()
   foo1::d
   foo2::d
   dispose_packages(pkg)
}

So in this case should I suggest 'foo1' and 'foo2'?

Gabor

[...]



[Rd] CRAN packages mis-using \donttest : falsy
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=