Closed ackerthehacker2 closed 1 year ago
The warnings about mean
, median
, var
, and std
shadowing core functions are expected.
I cannot reproduce the following warning regarding chi2gof
function
octave-help-sKOPvC:141: misplaced {
octave-help-sKOPvC:141: misplaced }
octave-help-sKOPvC:141: misplaced {
octave-help-sKOPvC:141: misplaced }
warning: doc_cache_create: unusable help text found in file 'chi2gof'
Which version of Octave are you using?
The warning about svm.cpp
is also not produced in my linux systems. What compiler do you have in your Mac?
M1 Ultra Mac Studio running the HomeBrew/Xcode environment. Mac OS X 16.3 Octave 17.3
On Feb 4, 2023, at 4:49 AM, Andreas Bertsatos @.***> wrote:
The warnings about mean, median, var, and std shadowing core functions are expected.
I cannot reproduce the following warning regarding chi2gof function
octave-help-sKOPvC:141: misplaced { octave-help-sKOPvC:141: misplaced } octave-help-sKOPvC:141: misplaced { octave-help-sKOPvC:141: misplaced } warning: doc_cache_create: unusable help text found in file 'chi2gof' Which version of Octave are you using?
The warning about svm.cpp is also not produced in my linux systems. What compiler do you have in your Mac?
— Reply to this email directly, view it on GitHub https://github.com/gnu-octave/statistics/issues/75#issuecomment-1416720561, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHJFL3ST3QNNZ6EAFV27CTWVYX4BANCNFSM6AAAAAAUQ3Y7BI. You are receiving this because you authored the thread.
I just pushed a new commit swap vsprintf
with vsnprintf
in svm.cpp file. Can you reinstall the statistics package from main to see if the warning is still being produced in your system?
Use the following command to install the latest dev.
pkg install "https://github.com/gnu-octave/statistics/archive/refs/heads/main.zip"
pkg install "https://github.com/gnu-octave/statistics/archive/refs/heads/main.zip" ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/mean.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/median.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/std.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/var.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
octave-help-I9LczX:141: misplaced {
octave-help-I9LczX:141: misplaced }
octave-help-I9LczX:141: misplaced {
octave-help-I9LczX:141: misplaced }
warning: doc_cache_create: unusable help text found in file 'chi2gof'
warning: called from
doc_cache_create>handle_function at line 98 column 5
doc_cache_create>create_cache at line 118 column 36
gen_doc_cache_in_dir>@
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/mean.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/median.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/std.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/var.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
For information about changes from previous versions of the statistics package, run 'news statistics'.
On Feb 5, 2023, at 2:25 PM, Andreas Bertsatos @.***> wrote:
pkg install "https://github.com/gnu-octave/statistics/archive/refs/heads/main.zip"
ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
ld: warning: -undefined dynamic_lookup may not work with chained fixups
the above warnings are related to your XCode environment. You may find useful information on this link. Although I can't tell for sure, these are probably causing the misreading the texinfo docstring in the chi2gof
function.
Is the following shown at the begining of the help info of the chi2gof
function when your call the help function?
help chi2gof
octave-help-I9LczX:141: misplaced {
octave-help-I9LczX:141: misplaced }
octave-help-I9LczX:141: misplaced {
octave-help-I9LczX:141: misplaced }
...
Can you run a package test and report the summary here?
just type pkg test statistics
help chi2gof octave-help-qFSl2M:141: misplaced { octave-help-qFSl2M:141: misplaced } octave-help-qFSl2M:141: misplaced { octave-help-qFSl2M:141: misplaced } warning: help: Texinfo formatting filter exited abnormally; raw Texinfo source of help text follows... 'chi2gof' is a function from the file /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/chi2gof.m
-- statistics: H = chi2gof (X) -- statistics: [H, P] = chi2gof (X) -- statistics: [P, H, STATS] = chi2gof (X) -- statistics: [...] = chi2gof (X, NAME1, VALUE1, ...)
Chi-square goodness-of-fit test.
‘chi2gof’ performs a chi-square goodness-of-fit test for discrete
or continuous distributions. The test is performed by grouping the
data into bins, calculating the observed and expected counts for
those bins, and computing the chi-square test statistic
esting functions in package 'statistics':
Integrated test scripts:
..cs-1.5.3/aarch64-apple-darwin22.1.0-api-v57/libsvmread.cc-tst pass 4/4 ..s-1.5.3/aarch64-apple-darwin22.1.0-api-v57/libsvmwrite.cc-tst pass 7/7 ..cs-1.5.3/aarch64-apple-darwin22.1.0-api-v57/svmpredict.cc-tst pass 5/5 ..tics-1.5.3/aarch64-apple-darwin22.1.0-api-v57/svmtrain.cc-tst pass 4/4 ..tave/api-v57/packages/statistics-1.5.3/distributions/bbscdf.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/bbsinv.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/bbspdf.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/bbsrnd.m pass 32/32 ..ave/api-v57/packages/statistics-1.5.3/distributions/betacdf.m pass 24/24 ..ave/api-v57/packages/statistics-1.5.3/distributions/betainv.m pass 20/20 ..ave/api-v57/packages/statistics-1.5.3/distributions/betapdf.m pass 21/21 ..ave/api-v57/packages/statistics-1.5.3/distributions/betarnd.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/binocdf.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/binoinv.m pass 23/23 ..ave/api-v57/packages/statistics-1.5.3/distributions/binopdf.m pass 42/42 ..ave/api-v57/packages/statistics-1.5.3/distributions/binornd.m pass 29/29 ..ave/api-v57/packages/statistics-1.5.3/distributions/burrcdf.m pass 23/23 ..ave/api-v57/packages/statistics-1.5.3/distributions/burrinv.m pass 23/23 ..ave/api-v57/packages/statistics-1.5.3/distributions/burrpdf.m pass 23/23 ..ave/api-v57/packages/statistics-1.5.3/distributions/burrrnd.m pass 32/32 ..tave/api-v57/packages/statistics-1.5.3/distributions/bvncdf.m pass 5/5 ../api-v57/packages/statistics-1.5.3/distributions/cauchy_cdf.m pass 18/18 ../api-v57/packages/statistics-1.5.3/distributions/cauchy_inv.m pass 19/19 ../api-v57/packages/statistics-1.5.3/distributions/cauchy_pdf.m pass 19/19 ../api-v57/packages/statistics-1.5.3/distributions/cauchy_rnd.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/chi2cdf.m pass 16/16 ..ave/api-v57/packages/statistics-1.5.3/distributions/chi2inv.m pass 14/14 ..ave/api-v57/packages/statistics-1.5.3/distributions/chi2pdf.m pass 13/13 ..ave/api-v57/packages/statistics-1.5.3/distributions/chi2rnd.m pass 19/19 ..e/api-v57/packages/statistics-1.5.3/distributions/copulacdf.m pass 5/5 ..e/api-v57/packages/statistics-1.5.3/distributions/copulapdf.m pass 4/4 ..e/api-v57/packages/statistics-1.5.3/distributions/copularnd.m pass 5/5 ..ctave/api-v57/packages/statistics-1.5.3/distributions/evcdf.m pass 24/24 ..ctave/api-v57/packages/statistics-1.5.3/distributions/evinv.m pass 22/22 ..ctave/api-v57/packages/statistics-1.5.3/distributions/evpdf.m pass 8/8 ..ctave/api-v57/packages/statistics-1.5.3/distributions/evrnd.m pass 9/9 ..tave/api-v57/packages/statistics-1.5.3/distributions/expcdf.m pass 21/21 ..tave/api-v57/packages/statistics-1.5.3/distributions/expinv.m pass 14/14 ..tave/api-v57/packages/statistics-1.5.3/distributions/exppdf.m pass 12/12 ..tave/api-v57/packages/statistics-1.5.3/distributions/exprnd.m pass 19/19 ..octave/api-v57/packages/statistics-1.5.3/distributions/fcdf.m pass 21/21 ..octave/api-v57/packages/statistics-1.5.3/distributions/finv.m pass 20/20 ..octave/api-v57/packages/statistics-1.5.3/distributions/fpdf.m pass 20/20 ..octave/api-v57/packages/statistics-1.5.3/distributions/frnd.m pass 27/27 ..tave/api-v57/packages/statistics-1.5.3/distributions/gamcdf.m pass 30/30 ..tave/api-v57/packages/statistics-1.5.3/distributions/gaminv.m pass 26/26 ..tave/api-v57/packages/statistics-1.5.3/distributions/gampdf.m pass 19/19 ..tave/api-v57/packages/statistics-1.5.3/distributions/gamrnd.m pass 27/27 ..tave/api-v57/packages/statistics-1.5.3/distributions/geocdf.m pass 17/17 ..tave/api-v57/packages/statistics-1.5.3/distributions/geoinv.m pass 14/14 ..tave/api-v57/packages/statistics-1.5.3/distributions/geopdf.m pass 13/13 ..tave/api-v57/packages/statistics-1.5.3/distributions/geornd.m pass 20/20 ..tave/api-v57/packages/statistics-1.5.3/distributions/gevcdf.m pass 9/9 ..tave/api-v57/packages/statistics-1.5.3/distributions/gevinv.m pass 6/6 ..tave/api-v57/packages/statistics-1.5.3/distributions/gevpdf.m pass 3/3 ..tave/api-v57/packages/statistics-1.5.3/distributions/gevrnd.m pass 23/23 ..ctave/api-v57/packages/statistics-1.5.3/distributions/gpcdf.m pass 72/72 ..ctave/api-v57/packages/statistics-1.5.3/distributions/gpinv.m pass 52/52 ..ctave/api-v57/packages/statistics-1.5.3/distributions/gppdf.m pass 51/51 ..ctave/api-v57/packages/statistics-1.5.3/distributions/gprnd.m pass 52/52 ..ave/api-v57/packages/statistics-1.5.3/distributions/hygecdf.m pass 30/32 FAIL 2 ..ave/api-v57/packages/statistics-1.5.3/distributions/hygeinv.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/hygepdf.m pass 21/26 FAIL 5 ..ave/api-v57/packages/statistics-1.5.3/distributions/hygernd.m pass 32/32 ..ve/api-v57/packages/statistics-1.5.3/distributions/iwishpdf.m pass 6/6 ..ve/api-v57/packages/statistics-1.5.3/distributions/iwishrnd.m pass 8/8 ..tave/api-v57/packages/statistics-1.5.3/distributions/jsucdf.m pass 3/3 ..tave/api-v57/packages/statistics-1.5.3/distributions/jsupdf.m pass 3/3 ..api-v57/packages/statistics-1.5.3/distributions/laplace_cdf.m pass 11/11 ..api-v57/packages/statistics-1.5.3/distributions/laplace_inv.m pass 12/12 ..api-v57/packages/statistics-1.5.3/distributions/laplace_pdf.m pass 11/11 ..api-v57/packages/statistics-1.5.3/distributions/laplace_rnd.m pass 31/31 ..pi-v57/packages/statistics-1.5.3/distributions/logistic_cdf.m pass 11/11 ..pi-v57/packages/statistics-1.5.3/distributions/logistic_inv.m pass 13/13 ..pi-v57/packages/statistics-1.5.3/distributions/logistic_pdf.m pass 11/11 ..pi-v57/packages/statistics-1.5.3/distributions/logistic_rnd.m pass 31/31 ..ave/api-v57/packages/statistics-1.5.3/distributions/logncdf.m pass 24/24 ..ave/api-v57/packages/statistics-1.5.3/distributions/logninv.m pass 18/18 ..ave/api-v57/packages/statistics-1.5.3/distributions/lognpdf.m pass 17/17 ..ave/api-v57/packages/statistics-1.5.3/distributions/lognrnd.m pass 27/27 ..ctave/api-v57/packages/statistics-1.5.3/distributions/mnpdf.m pass 2/2 ..ctave/api-v57/packages/statistics-1.5.3/distributions/mnrnd.m pass 3/3 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvncdf.m pass 12/12 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvnpdf.m pass 9/9 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvnrnd.m pass 6/6 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvtcdf.m pass 7/7 ..e/api-v57/packages/statistics-1.5.3/distributions/mvtcdfqmc.m pass 2/2 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvtpdf.m pass 3/3 ..tave/api-v57/packages/statistics-1.5.3/distributions/mvtrnd.m pass 2/2 ..ave/api-v57/packages/statistics-1.5.3/distributions/nakacdf.m pass 18/18 ..ave/api-v57/packages/statistics-1.5.3/distributions/nakainv.m pass 18/18 ..ave/api-v57/packages/statistics-1.5.3/distributions/nakapdf.m pass 18/18 ..ave/api-v57/packages/statistics-1.5.3/distributions/nakarnd.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/nbincdf.m pass 23/23 ..ave/api-v57/packages/statistics-1.5.3/distributions/nbininv.m pass 24/24 ..ave/api-v57/packages/statistics-1.5.3/distributions/nbinpdf.m pass 19/19 ..ave/api-v57/packages/statistics-1.5.3/distributions/nbinrnd.m pass 27/27 ..tave/api-v57/packages/statistics-1.5.3/distributions/ncfcdf.m pass 9/9 ..tave/api-v57/packages/statistics-1.5.3/distributions/ncfinv.m pass 11/12 FAIL 1 ..tave/api-v57/packages/statistics-1.5.3/distributions/ncfpdf.m pass 12/12 ..tave/api-v57/packages/statistics-1.5.3/distributions/ncfrnd.m pass 11/11 ..tave/api-v57/packages/statistics-1.5.3/distributions/nctcdf.m pass 8/8 ..tave/api-v57/packages/statistics-1.5.3/distributions/nctinv.m pass 10/10 ..tave/api-v57/packages/statistics-1.5.3/distributions/nctpdf.m pass 11/11 ..tave/api-v57/packages/statistics-1.5.3/distributions/nctrnd.m pass 10/10 ..ave/api-v57/packages/statistics-1.5.3/distributions/ncx2cdf.m pass 9/9 ..ave/api-v57/packages/statistics-1.5.3/distributions/ncx2inv.m pass 10/11 FAIL 1 ..ave/api-v57/packages/statistics-1.5.3/distributions/ncx2pdf.m pass 10/10 ..ave/api-v57/packages/statistics-1.5.3/distributions/ncx2rnd.m pass 9/9 ..ave/api-v57/packages/statistics-1.5.3/distributions/normcdf.m pass 24/24 ..ave/api-v57/packages/statistics-1.5.3/distributions/norminv.m pass 18/18 ..ave/api-v57/packages/statistics-1.5.3/distributions/normpdf.m pass 17/17 ..ave/api-v57/packages/statistics-1.5.3/distributions/normrnd.m pass 27/27 ..ve/api-v57/packages/statistics-1.5.3/distributions/poisscdf.m pass 14/14 ..ve/api-v57/packages/statistics-1.5.3/distributions/poissinv.m pass 14/14 ..ve/api-v57/packages/statistics-1.5.3/distributions/poisspdf.m pass 13/13 ..ve/api-v57/packages/statistics-1.5.3/distributions/poissrnd.m pass 21/21 ..ave/api-v57/packages/statistics-1.5.3/distributions/raylcdf.m pass 12/12 ..ave/api-v57/packages/statistics-1.5.3/distributions/raylinv.m pass 9/9 ..ave/api-v57/packages/statistics-1.5.3/distributions/raylpdf.m pass 8/8 ..ave/api-v57/packages/statistics-1.5.3/distributions/raylrnd.m pass 13/13 ..i-v57/packages/statistics-1.5.3/distributions/stdnormal_cdf.m pass 5/5 ..i-v57/packages/statistics-1.5.3/distributions/stdnormal_inv.m pass 6/6 ..i-v57/packages/statistics-1.5.3/distributions/stdnormal_pdf.m pass 5/5 ..i-v57/packages/statistics-1.5.3/distributions/stdnormal_rnd.m pass 9/9 ..octave/api-v57/packages/statistics-1.5.3/distributions/tcdf.m pass 31/31 ..octave/api-v57/packages/statistics-1.5.3/distributions/tinv.m pass 14/14 ..octave/api-v57/packages/statistics-1.5.3/distributions/tpdf.m pass 14/14 ..tave/api-v57/packages/statistics-1.5.3/distributions/tricdf.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/triinv.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/tripdf.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/trirnd.m pass 32/32 ..octave/api-v57/packages/statistics-1.5.3/distributions/trnd.m pass 19/19 ..ave/api-v57/packages/statistics-1.5.3/distributions/unidcdf.m pass 17/17 ..ave/api-v57/packages/statistics-1.5.3/distributions/unidinv.m pass 14/14 ..ave/api-v57/packages/statistics-1.5.3/distributions/unidpdf.m pass 13/13 ..ave/api-v57/packages/statistics-1.5.3/distributions/unidrnd.m pass 13/13 ..ave/api-v57/packages/statistics-1.5.3/distributions/unifcdf.m pass 25/25 ..ave/api-v57/packages/statistics-1.5.3/distributions/unifinv.m pass 21/21 ..ave/api-v57/packages/statistics-1.5.3/distributions/unifpdf.m pass 20/20 ..ave/api-v57/packages/statistics-1.5.3/distributions/unifrnd.m pass 30/30 ..ctave/api-v57/packages/statistics-1.5.3/distributions/vmcdf.m pass 14/14 ..ctave/api-v57/packages/statistics-1.5.3/distributions/vmpdf.m pass 14/14 ..ctave/api-v57/packages/statistics-1.5.3/distributions/vmrnd.m pass 25/25 ..tave/api-v57/packages/statistics-1.5.3/distributions/wblcdf.m pass 28/28 ..tave/api-v57/packages/statistics-1.5.3/distributions/wblinv.m pass 18/18 ..tave/api-v57/packages/statistics-1.5.3/distributions/wblpdf.m pass 17/17 ..tave/api-v57/packages/statistics-1.5.3/distributions/wblrnd.m pass 27/27 ..ave/api-v57/packages/statistics-1.5.3/distributions/wishpdf.m pass 7/7 ..ave/api-v57/packages/statistics-1.5.3/distributions/wishrnd.m pass 9/9 ..share/octave/api-v57/packages/statistics-1.5.3/shadow9/mean.m pass 27/27 ..are/octave/api-v57/packages/statistics-1.5.3/shadow9/median.m pass 117/117 ../share/octave/api-v57/packages/statistics-1.5.3/shadow9/std.m pass 160/160 ../share/octave/api-v57/packages/statistics-1.5.3/shadow9/var.m pass 160/160 ..local/share/octave/api-v57/packages/statistics-1.5.3/adtest.m pass 25/25 ..local/share/octave/api-v57/packages/statistics-1.5.3/anova1.m pass 2/2 ..local/share/octave/api-v57/packages/statistics-1.5.3/anova2.m pass 3/3 ..local/share/octave/api-v57/packages/statistics-1.5.3/anovan.m pass 12/12 ..hare/octave/api-v57/packages/statistics-1.5.3/bartlett_test.m pass 16/16 ..cal/share/octave/api-v57/packages/statistics-1.5.3/barttest.m pass 10/10 ..cal/share/octave/api-v57/packages/statistics-1.5.3/betastat.m pass 9/9 ..cal/share/octave/api-v57/packages/statistics-1.5.3/binostat.m pass 10/10 ..cal/share/octave/api-v57/packages/statistics-1.5.3/binotest.m pass 1/1 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/boxplot.m pass 33/33 ..al/share/octave/api-v57/packages/statistics-1.5.3/canoncorr.m pass 8/8 ..r/.local/share/octave/api-v57/packages/statistics-1.5.3/cdf.m pass 4/4 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/cdfcalc.m pass 5/5 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/cdfplot.m pass 5/5 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/chi2gof.m pass 11/11 ..cal/share/octave/api-v57/packages/statistics-1.5.3/chi2stat.m pass 1/1 ..cal/share/octave/api-v57/packages/statistics-1.5.3/chi2test.m pass 34/34 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/cholcov.m pass 1/1 ../share/octave/api-v57/packages/statistics-1.5.3/cl_multinom.m pass 4/4 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/cluster.m pass 6/6 ../share/octave/api-v57/packages/statistics-1.5.3/clusterdata.m pass 4/4 ..cal/share/octave/api-v57/packages/statistics-1.5.3/cmdscale.m pass 2/2 ..local/share/octave/api-v57/packages/statistics-1.5.3/combnk.m pass 4/4 ..are/octave/api-v57/packages/statistics-1.5.3/confusionchart.m pass 18/18 ..share/octave/api-v57/packages/statistics-1.5.3/confusionmat.m pass 1/1 ..cal/share/octave/api-v57/packages/statistics-1.5.3/cophenet.m pass 4/4 ..cal/share/octave/api-v57/packages/statistics-1.5.3/crosstab.m pass 8/8 ..cal/share/octave/api-v57/packages/statistics-1.5.3/crossval.m pass 1/1 ..l/share/octave/api-v57/packages/statistics-1.5.3/datasample.m pass 17/17 ..l/share/octave/api-v57/packages/statistics-1.5.3/dendrogram.m pass 9/9 ../.local/share/octave/api-v57/packages/statistics-1.5.3/ecdf.m pass 14/14 ..share/octave/api-v57/packages/statistics-1.5.3/evalclusters.m pass 21/21 ...local/share/octave/api-v57/packages/statistics-1.5.3/evfit.m pass 9/9 ..local/share/octave/api-v57/packages/statistics-1.5.3/evlike.m pass 8/8 ..local/share/octave/api-v57/packages/statistics-1.5.3/evstat.m pass 8/8 ..local/share/octave/api-v57/packages/statistics-1.5.3/expfit.m pass 47/47 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/explike.m pass 3/3 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/expstat.m pass 1/1 ../.local/share/octave/api-v57/packages/statistics-1.5.3/ff2n.m pass 10/10 ../share/octave/api-v57/packages/statistics-1.5.3/fillmissing.m pass 377/378 (reported bug) XFAIL 1 ...local/share/octave/api-v57/packages/statistics-1.5.3/fitlm.m pass 3/3 ..cal/share/octave/api-v57/packages/statistics-1.5.3/friedman.m pass 2/2 ...local/share/octave/api-v57/packages/statistics-1.5.3/fstat.m pass 2/2 ..cal/share/octave/api-v57/packages/statistics-1.5.3/fullfact.m pass 15/15 ..local/share/octave/api-v57/packages/statistics-1.5.3/gamfit.m pass 2/2 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/gamlike.m pass 3/3 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/gamstat.m pass 2/2 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/geomean.m pass 6/6 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/geostat.m pass 1/1 ..local/share/octave/api-v57/packages/statistics-1.5.3/gevfit.m pass 3/3 ../share/octave/api-v57/packages/statistics-1.5.3/gevfit_lmom.m pass 1/1 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/gevlike.m pass 3/3 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/gevstat.m pass 1/1 ..are/octave/api-v57/packages/statistics-1.5.3/gmdistribution.m pass 1/1 ...local/share/octave/api-v57/packages/statistics-1.5.3/gpfit.m pass 10/10 ..local/share/octave/api-v57/packages/statistics-1.5.3/gplike.m pass 10/10 ..local/share/octave/api-v57/packages/statistics-1.5.3/gpstat.m pass 16/16 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/grp2idx.m pass 10/10 ..cal/share/octave/api-v57/packages/statistics-1.5.3/grpstats.m pass 4/4 ..cal/share/octave/api-v57/packages/statistics-1.5.3/gscatter.m pass 9/9 ..cal/share/octave/api-v57/packages/statistics-1.5.3/harmmean.m pass 6/6 ...local/share/octave/api-v57/packages/statistics-1.5.3/hist3.m pass 16/16 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/histfit.m pass 3/3 ../share/octave/api-v57/packages/statistics-1.5.3/hmmestimate.m pass 3/3 ../share/octave/api-v57/packages/statistics-1.5.3/hmmgenerate.m pass 2/2 ..l/share/octave/api-v57/packages/statistics-1.5.3/hmmviterbi.m pass 2/2 ..e/octave/api-v57/packages/statistics-1.5.3/hotelling_t2test.m pass 12/12 ../octave/api-v57/packages/statistics-1.5.3/hotelling_t2test2.m pass 14/14 ..cal/share/octave/api-v57/packages/statistics-1.5.3/hygestat.m pass 2/2 ..share/octave/api-v57/packages/statistics-1.5.3/inconsistent.m pass 8/8 ..al/share/octave/api-v57/packages/statistics-1.5.3/ismissing.m pass 49/49 ..al/share/octave/api-v57/packages/statistics-1.5.3/jackknife.m pass 1/1 ..local/share/octave/api-v57/packages/statistics-1.5.3/kmeans.m pass 31/31 ..hare/octave/api-v57/packages/statistics-1.5.3/kruskalwallis.m pass 1/1 ..local/share/octave/api-v57/packages/statistics-1.5.3/kstest.m pass 13/13 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/kstest2.m pass 14/14 ../share/octave/api-v57/packages/statistics-1.5.3/levene_test.m pass 20/20 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/linkage.m pass 12/12 ..ctave/api-v57/packages/statistics-1.5.3/logistic_regression.m pass 2/2 ...local/share/octave/api-v57/packages/statistics-1.5.3/logit.m pass 4/4 ..cal/share/octave/api-v57/packages/statistics-1.5.3/lognstat.m pass 2/2 ...local/share/octave/api-v57/packages/statistics-1.5.3/mahal.m pass 9/9 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/manova1.m pass 2/2 ..hare/octave/api-v57/packages/statistics-1.5.3/manovacluster.m pass 2/2 ..cal/share/octave/api-v57/packages/statistics-1.5.3/mhsample.m pass 6/6 ../share/octave/api-v57/packages/statistics-1.5.3/multcompare.m pass 8/8 ..local/share/octave/api-v57/packages/statistics-1.5.3/nanmax.m pass 5/5 ..local/share/octave/api-v57/packages/statistics-1.5.3/nanmin.m pass 5/5 ..local/share/octave/api-v57/packages/statistics-1.5.3/nansum.m pass 9/9 ..cal/share/octave/api-v57/packages/statistics-1.5.3/nbinstat.m pass 2/2 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/ncfstat.m pass 12/12 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/nctstat.m pass 11/11 ..cal/share/octave/api-v57/packages/statistics-1.5.3/ncx2stat.m pass 11/11 ..ve/api-v57/packages/statistics-1.5.3/normalise_distribution.m pass 14/14 ..cal/share/octave/api-v57/packages/statistics-1.5.3/normlike.m pass 10/10 ..cal/share/octave/api-v57/packages/statistics-1.5.3/normplot.m pass 7/7 ..cal/share/octave/api-v57/packages/statistics-1.5.3/normstat.m pass 2/2 ..e/octave/api-v57/packages/statistics-1.5.3/optimalleaforder.m pass 7/7 ..r/.local/share/octave/api-v57/packages/statistics-1.5.3/pca.m pass 31/32 (expected failure) XFAIL 1 ..r/.local/share/octave/api-v57/packages/statistics-1.5.3/pdf.m pass 4/4 ...local/share/octave/api-v57/packages/statistics-1.5.3/pdist.m pass 14/14 ..local/share/octave/api-v57/packages/statistics-1.5.3/pdist2.m pass 1/1 ..cal/share/octave/api-v57/packages/statistics-1.5.3/poisstat.m pass 1/1 ..local/share/octave/api-v57/packages/statistics-1.5.3/ppplot.m pass 5/5 ..cal/share/octave/api-v57/packages/statistics-1.5.3/princomp.m pass 19/19 ..local/share/octave/api-v57/packages/statistics-1.5.3/probit.m pass 3/3 ..local/share/octave/api-v57/packages/statistics-1.5.3/qqplot.m pass 6/6 ..l/share/octave/api-v57/packages/statistics-1.5.3/randsample.m pass 1/1 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/ranksum.m pass 2/2 ..cal/share/octave/api-v57/packages/statistics-1.5.3/raylstat.m pass 1/1 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/regress.m pass 1/1 ..e/octave/api-v57/packages/statistics-1.5.3/regression_ftest.m pass 18/18 ..al/share/octave/api-v57/packages/statistics-1.5.3/rmmissing.m pass 31/31 ..cal/share/octave/api-v57/packages/statistics-1.5.3/runstest.m pass 1/1 ../share/octave/api-v57/packages/statistics-1.5.3/sampsizepwr.m pass 68/68 ..al/share/octave/api-v57/packages/statistics-1.5.3/sigma_pts.m pass 7/7 ..cal/share/octave/api-v57/packages/statistics-1.5.3/signtest.m pass 11/11 ..l/share/octave/api-v57/packages/statistics-1.5.3/silhouette.m pass 4/4 ../share/octave/api-v57/packages/statistics-1.5.3/slicesample.m pass 4/4 ..l/share/octave/api-v57/packages/statistics-1.5.3/squareform.m pass 9/9 ..octave/api-v57/packages/statistics-1.5.3/standardizeMissing.m pass 49/49 ../share/octave/api-v57/packages/statistics-1.5.3/stepwisefit.m pass 1/1 ..cal/share/octave/api-v57/packages/statistics-1.5.3/tiedrank.m pass 2/2 ...local/share/octave/api-v57/packages/statistics-1.5.3/tstat.m pass 1/1 ...local/share/octave/api-v57/packages/statistics-1.5.3/ttest.m pass 3/3 ..local/share/octave/api-v57/packages/statistics-1.5.3/ttest2.m pass 3/3 ..cal/share/octave/api-v57/packages/statistics-1.5.3/unidstat.m pass 1/1 ..cal/share/octave/api-v57/packages/statistics-1.5.3/unifstat.m pass 2/2 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/vartest.m pass 12/12 ..cal/share/octave/api-v57/packages/statistics-1.5.3/vartest2.m pass 14/14 ..cal/share/octave/api-v57/packages/statistics-1.5.3/vartestn.m pass 17/17 ..local/share/octave/api-v57/packages/statistics-1.5.3/violin.m pass 5/5 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/wblplot.m pass 1/1 ..ocal/share/octave/api-v57/packages/statistics-1.5.3/wblstat.m pass 2/2 ../.local/share/octave/api-v57/packages/statistics-1.5.3/x2fx.m pass 5/5 ...local/share/octave/api-v57/packages/statistics-1.5.3/ztest.m pass 13/13
Fixed test scripts:
Failure Summary:
..ave/api-v57/packages/statistics-1.5.3/distributions/hygecdf.m pass 30/32 FAIL 2 ..ave/api-v57/packages/statistics-1.5.3/distributions/hygepdf.m pass 21/26 FAIL 5 ..tave/api-v57/packages/statistics-1.5.3/distributions/ncfinv.m pass 11/12 FAIL 1 ..ave/api-v57/packages/statistics-1.5.3/distributions/ncx2inv.m pass 10/11 FAIL 1 ../share/octave/api-v57/packages/statistics-1.5.3/fillmissing.m pass 377/378 (reported bug) XFAIL 1 ..r/.local/share/octave/api-v57/packages/statistics-1.5.3/pca.m pass 31/32 (expected failure) XFAIL 1
Summary:
PASS 4701 FAIL 9 XFAIL (reported bug) 1 XFAIL (expected failure) 1
See the file /Users/dougacker/fntests.log for additional details.
XFAIL items are known bugs or expected failures. Bug report numbers may be found in the log file: /Users/dougacker/fntests.log Please help improve Octave by contributing fixes for them.
25 (of 311) .m files have no tests.
Please help improve Octave by contributing tests for these files (see the list in the file /Users/dougacker/fntests.log).
On Feb 5, 2023, at 4:55 PM, Andreas Bertsatos @.***> wrote:
ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups ld: warning: -undefined dynamic_lookup may not work with chained fixups the above warnings are related to your XCode environment. You may find useful information on this link https://github.com/bazelbuild/bazel/issues/16413. Although I can't tell for sure, these are probably causing the misreading the texinfo docstring in the chi2gof function.
Is the following shown at the begining of the help info of the chi2gof function when your call the help function?
help chi2gof
octave-help-I9LczX:141: misplaced { octave-help-I9LczX:141: misplaced } octave-help-I9LczX:141: misplaced { octave-help-I9LczX:141: misplaced } ... Can you run a package test and report the summary here? just type pkg test statistics
— Reply to this email directly, view it on GitHub https://github.com/gnu-octave/statistics/issues/75#issuecomment-1418287809, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHJFL3CXM4E2WGZ7J3WC5DWWAVWNANCNFSM6AAAAAAUQ3Y7BI. You are receiving this because you authored the thread.
help chi2gof
octave-help-qFSl2M:141: misplaced { octave-help-qFSl2M:141: misplaced } octave-help-qFSl2M:141: misplaced { octave-help-qFSl2M:141: misplaced } warning: help: Texinfo formatting filter exited abnormally; raw Texinfo source of help text follows... 'chi2gof' is a function from the file /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/chi2gof.m
I can't find any more info about why this is occurring in your system except for the cause I mentioned earlier. I am running linux on my machines and I can't reproduce the warnings you mentioned. Just run a pkg test package
to verify that all functions pass their tests and this is the most I can do for the time being. Perhaps, it is best to mention this issue at discourse and seek help over there, since I don't have any Mac to test the statistics package and see why it produces the texinfo warnings on this particular function.
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/median.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/std.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/var.m shadows a core library function warning: called from /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/PKG_ADD at line 11 column 3 doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
octave-help-sKOPvC:141: misplaced { octave-help-sKOPvC:141: misplaced } octave-help-sKOPvC:141: misplaced { octave-help-sKOPvC:141: misplaced } warning: doc_cache_create: unusable help text found in file 'chi2gof' warning: called from doc_cache_create>handle_function at line 98 column 5 doc_cache_create>create_cache at line 118 column 36 gen_doc_cache_in_dir>@ at line 150 column 16
doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
doc_cache_create at line 62 column 12
install>generate_lookfor_cache at line 840 column 5
install at line 241 column 7
pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/mean.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/median.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/std.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9
warning: function /Users/dougacker/.local/share/octave/api-v57/packages/statistics-1.5.3/shadow9/var.m shadows a core library function warning: called from doc_cache_create>gen_doc_cache_in_dir at line 146 column 5 doc_cache_create at line 62 column 12 install>generate_lookfor_cache at line 840 column 5 install at line 241 column 7 pkg at line 612 column 9