Fwd: [Gretl-devel] Re: typename() null problem
by Sven Schreiber
Dear gretl users,
just a small piece of information about an internal bug with the native
typename() function - the bug has already been fixed for the next gretl
version, but is present in the current gretl version 2026d and the one
before (2026c).
It bites only if you apply typename() to an array which is inside a
gretl bundle. The subtype of the array (matrices, strings, ... see the
forwarded message below) doesn't matter. What happens is that you
erroneously get the string "null" as a result, instead of the expected
subtype result "matrices", "strings", etc.
If you just call typename() on any plain object --i.e. not nested inside
a bundle-- there is no problem. So for most of you out there there
shouldn't really be an issue.
(However, my own contributed function package "parallel_func" is partly
affected by that bug, and a fix in the form of a workaround is underway.)
cheers
Sven
-------- Weitergeleitete Nachricht --------
Betreff: [Gretl-devel] Re: typename() null problem
Datum: Wed, 11 Nov 2026 11:04:20 -0500
Von: Cottrell, Allin <cottrell(a)wfu.edu>
Antwort an: Gretl development <gretl-devel(a)gretlml.univpm.it>
An: Gretl development <gretl-devel(a)gretlml.univpm.it>
On Wed, Nov 11, 2026 at 11:03 AM Sven Schreiber
<sven.schreiber(a)fu-berlin.de> wrote:
> Thanks, Allin. To be clear, this only affected nested arrays in a
> bundle, right? (But in principle any array type; matrices, strings,
> bundles, lists, arrays ?)
Yes, that's right on both points.
Allin
6 days, 9 hours
Package updates (October 2026)
by Riccardo (Jack) Lucchetti
Dear all,
this message is to inform the community about the activity in our
function package repository. During the month of October 2026, three
packages were updated and two new ones were introduced.
Most of the new stuff is in the "moving average for time series"
category: we have two new packages,
"tsdecomp", by Artur Tarassow, (classical or loess-based decomposition
of time-series)
"ema_tools", by Christian Lagunes, (exponential smoothing with
data-based alpha)
These two packages are complemented by the updates in two
already-existing packages, that is
"Holt" and "Winters", by Allin Cottrell, based on previous work by
Ignacio Díaz-Emparanza (classic decomposition and forecasting methods).
If you're thinking "well, it's nice to have many packages, but couldn't
we group all these similar features in one single package?", don't
worry, work on this item is already under way.
Finally, I updated my own "yahoo_get" package so that it works as it
should with weekly datasets (thanks to Theo Panagiotidis for the bug
report).
As usual, download and enjoy!
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------
3 weeks