R Observatory
Search
install.packages("nbc4va")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
222−19.9% down on the 30 days before, the worse direction
Test coverage, method
64%of lines run by tests

An implementation of the Naive Bayes Classifier (NBC) algorithm used for Verbal Autopsy (VA) built on code from Miasnikof et al (2015) <DOI:10.1186/s12916-015-0521-2>.

Maintainer
Richard Wen
Licence
GPL-3
Latest release
10 May 2022
First release
11 Jul 2016

Compare with another package

More details
Releases
3
Needs compilation
No
Needs R
>= 4.0.0
Date
2022-04-25
LazyData
TRUE
RoxygenNote
7.1.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("nbc4va")

The package provides a citation file, so citation() returns the authors' own entry.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for nbc4va version 1.2 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

No warnings or errors. 2 of 13 check platforms have notes.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    1.2
    Time taken
    44 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Richard Wen <rrwen.dev@gmail.com>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    1.2
    Time taken
    34 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Richard Wen <rrwen.dev@gmail.com>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.2
    Time taken
    37 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.2
    Time taken
    35 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.2
    Time taken
    71 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.2
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.2
    Time taken
    57 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.2
    Time taken
    75 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.2
    Time taken
    41 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.2
    Time taken
    40 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.2
    Time taken
    17 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.2
    Time taken
    60 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.2
    Time taken
    67 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Richard Wen <rrwen.dev@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Check results on CRAN

Total downloads in the last 30 days
231−20.9% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

20,601 of 26,530

CRAN

222 downloads in the last 30 days

Rank
20,601 of 26,530
Change
−19.9% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−80% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

8 downloads in the last 30 days

Rank
5,494 of 29,212
Change
−20% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
0
Suggested by
1
Needs (4)
  • graphics
  • methods
  • shiny
  • utils
Installing it adds
30 packages, 25.4 MB of source
Of those, need compilation
19
Optional extras (5)
Functions
19
Public exports
15
Lines of R code
1,900
Median complexity
2
Functions (19)
Size and composition

Lines by kind (4,084)

KindLinesShare
R code1,90047%
Tests2095%
Documentation1,42635%
Guides54913%

Lines by language

LanguageLinesShare
R2,10952%
Rd1,42635%
Vignettes54913%

Languages are counted from file extensions.

Files
67
R functions
19
Object systems
S3: 3 methods
Complexity
Median
2
Mean
5.74
Highest
37
Median lines per function
42
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
19
Calls
18
Unconnected
4
Groups
1
Growth (3 releases)
Total lines by release
4,747 on 11 Jul 20164,084 on 10 May 2022
Release changes

The tests ran and coverage was measured.

Lines run by tests
64.3%
Expressions run by tests
63.4%
Test cases
12
Exports named in tests
20%
Coverage by file (8)
Coverage run
Lines counted
512
Lines the tests ran
329
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
12
Lines of tests
209
Test lines per line of code
0.11
Exports documented
100%
Arguments documented
93.8%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
85.7%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
21
Lines of documentation
1,426
DatasetSizeColumns
nbc4vaDataExample of clean data in nbc4va100 × 102id, cause, symptom1, symptom2, symptom3, symptom4 and 96 more
nbc4vaDataRawExample of unclean data in nbc4va100 × 102id, cause, symptom1, symptom2, symptom3, symptom4 and 96 more

No repository on record

R releases
  • On CRAN
  • Archived
  • Release
1.01.11.2BackArchivedArchived and backArchived and backBackArchivedBack

Archived and back

ArchivedBackCRAN's reasonKind
9 Apr 202010 May 2022check problems were not corrected despite remindersChecks not fixed
20 Jul 20183 Aug 2018check problems were not corrected despite remindersChecks not fixed
VersionReleasedREvents
1.2 current10 May 20224.2.0Back on CRAN 10 May 2022
1.15 Aug 20183.5.0Archived 9 Apr 2020
“check problems were not corrected despite reminders”
1.011 Jul 20163.3.1Archived 20 Jul 2018
“check problems were not corrected despite reminders”
Back on CRAN 3 Aug 2018
Release notes (1.2)
  • Remove stringsAsFactors = FALSE as it is now the default for R v4.0.0+
  • Set R version to 4.0.0 or higher
  • Fixed broken urls, missing tags, and un-exported functions in documentation
  • Replace http urls with https urls
  • Fix error/warning "In xtfrm.data.frame(x) : cannot xtfrm data frames"
  • Function plot.nbc now restores user settings even if it fails
  • Package shiny is now a required dependency and is not installed on usage of nbc4vaGUI