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 79.5
files_src 3 85.4
files_vignettes 0 0.0 TRUE
files_tests 7 85.6
loc_R 2698 88.7
loc_src 277 34.4
loc_tests 266 61.0
num_vignettes 0 0.0 TRUE
n_fns_r 64 64.5
n_fns_r_exported 11 49.4
n_fns_r_not_exported 53 69.2
n_fns_src 12 42.5
n_fns_per_file_r 4 58.0
n_fns_per_file_src 4 47.5
num_params_per_fn 1 1.7 TRUE
loc_per_fn_r 17 52.5
loc_per_fn_r_exp 43 75.4
loc_per_fn_r_not_exp 14 46.9
loc_per_fn_src 16 56.9
rel_whitespace_R 19 88.6
rel_whitespace_src 24 44.2
rel_whitespace_tests 27 64.5
doclines_per_fn_exp 31 36.1
doclines_per_fn_not_exp 3 100.0 TRUE
fn_call_network_size 111 80.8

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