Opened 10 months ago

Last modified 3 months ago

#31300 new defect

doctesting of sage/interfaces/ prints some warnings

Reported by: gh-DaveWitteMorris Owned by:
Priority: minor Milestone: sage-9.5
Component: interfaces Keywords: R, statistics
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


As pointed out by gh-kliem in ticket #29967, doctesting the interface to R yields some warnings, even though all tests pass:

~/sage % ./sage -t src/sage/interfaces/
Running doctests with ID 2021-01-28-19-03-19-0ac9e573.
Git branch: develop
Using --optional=build,dochtml,homebrew,pip,sage,sage_spkg
Doctesting 1 file.
R[write to console]: Warning messages:

R[write to console]: 1: 
R[write to console]: In sage10 + sage6 :
R[write to console]: 
R[write to console]:  longer object length is not a multiple of shorter object length

R[write to console]: 2: 
R[write to console]: In sqrt(sage10) :
R[write to console]:  NaNs produced

R[write to console]: 3: 
R[write to console]: In sqrt(sage4) :
R[write to console]:  NaNs produced

sage -t --warn-long 42.2 --random-seed=0 src/sage/interfaces/
    [257 tests, 3.17 s]
All tests passed!

Perhaps a user of R can say whether these warnings are revealing anything that needs to be fixed.

(These warnings were reported with --random-seed=151058820726654196682836430928254760259, but I get them even without specifying a seed.)

Change History (1)

comment:1 Changed 3 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.