Bug 16024 - bw.SJ may crash on NA values
Summary: bw.SJ may crash on NA values
Alias: None
Product: R
Classification: Unclassified
Component: Low-level (show other bugs)
Version: R 3.1.1
Hardware: x86_64/x64/amd64 (64-bit) Windows 64-bit
: P5 major
Assignee: R-core
Depends on:
Reported: 2014-10-14 20:32 UTC by Olaf Mersmann
Modified: 2014-10-16 08:18 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Mersmann 2014-10-14 20:32:26 UTC
Calling bw.SJ with a vector containing NAs may crash R. Minimal example:

  bw.SJ(c(1, 2, 3, NA, 4, 5))
Comment 1 Martin Maechler 2014-10-15 09:39:40 UTC
you are right.  I'm fixing this, both for R-devel and the upcoming R 3.1.2