On 13-12-07 05:21 PM, Hadley Wickham wrote:
The Writing R Extensions manual says that Suggests is for packages which
are required only for examples, which I believe matches Hadley's original
question.
Yes, but without this package they won't be able to run the majority
of examples, which I th
> The Writing R Extensions manual says that Suggests is for packages which
> are required only for examples, which I believe matches Hadley's original
> question.
Yes, but without this package they won't be able to run the majority
of examples, which I think delivers a poor experience to the user.
> Just to be clear, I distinguish the "batteries included" situation from the
> "spare batteries included" situation. I think it should be possible to
> automatically load everything that is really needed, that is why I think the
> Bayesian database is a more important case. But it strikes me as ba
The Writing R Extensions manual says that Suggests is for packages which
are required only for examples, which I believe matches Hadley's original
question.
In the Bayesian case, it seems like including one prior's worth of data in
the package but having the infrastructure designed so that other d
On 13-12-07 01:47 PM, Gabor Grothendieck wrote:
On Sat, Dec 7, 2013 at 1:35 PM, Paul Gilbert wrote:
On 13-12-07 12:19 PM, Gábor Csárdi wrote:
I don't know about this particular case, but in general it makes sense
to rely on a data package. E.g. I am creating a package that does
Bayesian i
> I don't know whether the author of that note would consider it spurious or
> not. A simple workaround for you (as the author of hflights) is to put a
> function into the namespace. For example, get_hflights(), that gets a copy
> of the data:
>
> get_hflights <- function() {
> data("hflights"
On 13-12-06 4:20 PM, Hadley Wickham wrote:
Hi all,
What should you do when you rely on a data only package. If you just
"Depend" on it, you get the following from R CMD check:
Package in Depends field not imported from: 'hflights'
These packages needs to imported from for the case when
th
On 7 December 2013 at 13:58, Gábor Csárdi wrote:
| 'RequireOneOf' would be indeed useful.
The DESCRIPTION file follows Debian Control File formats. Another aspect of
these could be useful here: the '|' operator. Eg for ess (the Debian package)
we have
Depends: dpkg (>= 1.15.4) | install-info,
On Sat, Dec 7, 2013 at 1:35 PM, Paul Gilbert wrote:
>
>
> On 13-12-07 12:19 PM, Gábor Csárdi wrote:
>>
>> I don't know about this particular case, but in general it makes sense
>> to rely on a data package. E.g. I am creating a package that does
>> Bayesian inference for a particular problem, pote
On Sat, Dec 7, 2013 at 1:35 PM, Paul Gilbert wrote:
>
>
> On 13-12-07 12:19 PM, Gábor Csárdi wrote:
>>
>> I don't know about this particular case, but in general it makes sense
>> to rely on a data package. E.g. I am creating a package that does
>> Bayesian inference for a particular problem, pote
On 13-12-07 12:19 PM, Gábor Csárdi wrote:
I don't know about this particular case, but in general it makes sense
to rely on a data package. E.g. I am creating a package that does
Bayesian inference for a particular problem, potentially relying on
prior knowledge. I think it makes sense to put t
> Would "Suggests" not work in this situation? I don't understand why you
> would need Depends. In what sense do you rely on the data only package?
Because I want someone who downloads the package to be able to run the
examples without having to take additional action.
Hadley
--
http://had.co.
I don't know about this particular case, but in general it makes sense
to rely on a data package. E.g. I am creating a package that does
Bayesian inference for a particular problem, potentially relying on
prior knowledge. I think it makes sense to put the data that is used
to calculate the prior in
Would "Suggests" not work in this situation? I don't understand why you
would need Depends. In what sense do you rely on the data only package?
Paul
On 13-12-06 04:20 PM, Hadley Wickham wrote:
Hi all,
What should you do when you rely on a data only package. If you just
"Depend" on it, you get
14 matches
Mail list logo