Checks for pkgstats (v9.9)

git hash:

Important: All failing checks above must be addressed prior to proceeding

(Checks marked with 👀 may be optionally addressed.)

Package License: GPL-3


1. rOpenSci Statistical Standards (srr package)

✅ srr message


2. Package Dependencies

Details of Package Dependency Usage (click to open)

The table below tallies all function calls to all packages (‘ncalls’), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). ‘NA’ values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.

type package ncalls
internal base 447
internal pkgstats 99
internal stats 16
internal graphics 10
internal utils 10
internal tools 2
imports sys 13
imports readr 8
imports brio 7
imports dplyr 7
imports withr 5
imports fs 4
imports igraph 3
imports checkmate NA
imports methods NA
suggests visNetwork 3
suggests hms 1
suggests pbapply 1
suggests knitr NA
suggests pkgbuild NA
suggests Rcpp NA
suggests rmarkdown NA
suggests roxygen2 NA
suggests testthat NA
linking_to cpp11 NA

Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running ‘s <- pkgstats::pkgstats()’, and examining the ‘external_calls’ table.

NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these ‘Imports’ are listed appropriately.


3. Statistical Properties

This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.

Details of statistical properties (click to open)

The package has:

  • code in C++ (9% in 3 files) and R (91% in 19 files)
  • 1 authors
  • no vignette
  • no internal data file
  • 9 imported packages
  • 11 exported functions (median 43 lines of code)
  • 53 non-exported functions in R (median 14 lines of code)
  • 12 R functions (median 16 lines of code)

Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages The following terminology is used:

  • loc = “Lines of Code”
  • fn = “function”
  • exp/not_exp = exported / not exported

All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the checks_to_markdown() function

The final measure (fn_call_network_size) is the total number of calls between functions (in R), or more abstract relationships between code objects in other languages. Values are flagged as “noteworthy” when they lie in the upper or lower 5th percentile.

measure value percentile noteworthy
files_R 19 73
files_src 3 59
files_vignettes 0 35
files_tests 7 75
loc_R 2698 87
loc_src 277 45
loc_tests 266 46
num_vignettes 0 39
n_fns_r 64 67
n_fns_r_exported 11 41
n_fns_r_not_exported 53 67
n_fns_src 12 55
n_fns_per_file_r 4 56
n_fns_per_file_src 4 68
num_params_per_fn 1 34
loc_per_fn_r 17 38
loc_per_fn_r_exp 43 52
loc_per_fn_r_not_exp 14 52
loc_per_fn_src 16 63
rel_whitespace_R 19 0 TRUE
rel_whitespace_src 24 0 TRUE
rel_whitespace_tests 27 0 TRUE
doclines_per_fn_exp 31 42
doclines_per_fn_not_exp 3 51
fn_call_network_size 111 50

4. goodpractice and other checks

(‘goodpractice’ not included with these checks)


5. Other Checks

Details of other checks (click to open)

❌ Package contains the following unexpected files:

  • a
  • b

❌ Package contains the following (potentially) obsolete packages:

  • blah
  • sp
  • rgdal

See our Recommended Scaffolding for alternatives.


Package Versions

package version
pkgstats 42
pkgcheck 42