Control: tags -1 + upstream
Control: forwarded -1 https://savannah.gnu.org/bugs/index.php?55094

* James Van Zandt <jim.vanza...@gmail.com> [2018-11-22 17:14]:

Package: octave
Version: 4.4.1-2+b1
Severity: normal
Tags: upstream

Dear Maintainer,

Octave now has a very helpful feature which points the user to functions available in packages:

   octave:1> help random
   error: help: the 'random' function belongs to the statistics package
from Octave Forge which you have installed but not loaded. To load the package, run 'pkg load statistics' from the Octave prompt.

However, the feature overlooks some functions. These are also provided in the statistics package:

   octave:1> help chi2inv
   error: help: 'chi2inv' not found
   octave:1> help logit
   error: help: 'logit' not found
   octave:1> help regression
   error: help: 'regression' not found

The problem appears to be that the overlooked functions are in subdirectories of the package.

The message is printed by __unimplemented__.m, in the directory /usr/share/octave/4.4.1/m/help, which has hard-coded lists of the functions in each package. I see nothing in the source package that generates those lists, so I assume one of the upstream maintainers has code for that.

Some directories should still be omitted (e.g., self-testing functions). I suggest functions in these directories be added to the lists in __unimplemented__.m:

   bsltl/mfiles
   geometry/geom2d
   geometry/geom3d
   geometry/graphs
   geometry/io
   geometry/meshes3d
   geometry/polygons2d
   geometry/polynomialCurves2d
   geometry/shape2d
   geometry/utils
   ltfat/auditory
   ltfat/blockproc
   ltfat/comp
   ltfat/demos
   ltfat/deprecated
   ltfat/filterbank
   ltfat/fourier
   ltfat/frames
   ltfat/gabor
   ltfat/mulaclab
   ltfat/nonstatgab
   ltfat/operators
   ltfat/quadratic
   ltfat/signals
   ltfat/sigproc
   ltfat/thirdparty
   ltfat/wavelets
   statistics/base
   statistics/distributions
   statistics/models

This is an upstream issue. I am hereby tagging this bug report accordingly. I have also forwarded the report to the upstream bug tracking system.

Rafael

Reply via email to