Am 05.08.2024 um 18:19 schrieb Sven Schreiber:
Am 04.08.2024 um 22:30 schrieb Cottrell, Allin:
> On Tue, Jul 30, 2024 at 5:11 PM Cottrell, Allin <cottrell(a)wfu.edu>
> wrote:
>> Good point, and good question. I'll take another look at this.
> It seems there was unfinished business in the relevant gretl source
> file, gui/fncall.c. That's now updated, and I think the behavior
> should be closer to what's claimed in the documentation, for both
> variants of the specifications pertaining to list arguments (that is,
> both with and without the "list_" prefix in "list_no_const",
> "list_no_singleton" and "list_exclude").
Thanks, Allin, that sounds very good. (Although "closer to... the doc"
is also an interesting formulation.) So no need to update any existing
packages, if I understand correctly.
I've just tested the previous stripped down example gfn with the latest
snapshot (GTK3).
1) The no_singleton check partly works, for the LHS (Y):
- The drop-down menu in the GUI only shows existing lists, not single
series. And creating a new list in that GUI context refuses to do a
single-item list. However, pre-defining a singleton list and then
selecting it does not yield any error message (down the road). Also,
typing in the name of a single series does not raise an error (again, on
clicking OK).
- For the other argument, which should honor the same restrictions,
nothing seems to be prevented or restricted, or checked.
2) About the data requirement, the error message still says "need active
dataset", not asking for time series. (Remember the package itself
required nothing, but the provider SVAR wants time series.)
thanks
sven