-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkgcheck results - main #67
Comments
Checks for giscoR (v0.3.5.9000)git hash: eab8abde
Package License: GPL-3 1. Package DependenciesDetails 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.
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(<path/to/repo>)', and examining the 'external_calls' table. basebasename (19), file.path (12), url (12), paste0 (10), names (9), paste (9), try (9), c (8), q (7), grep (6), strsplit (5), unlist (5), length (4), list (4), getOption (3), gsub (3), suppressWarnings (3), file.exists (2), file.size (2), for (2), is.na (2), local (2), seq_len (2), which (2), as.character (1), as.data.frame (1), as.integer (1), eval (1), file (1), max (1), nchar (1), parse (1), rbind (1), readLines (1), switch (1), Sys.getenv (1), tempfile (1), tolower (1), tryCatch (1), vapply (1), warning (1) giscoRgsc_api_cache (11), gsc_api_url (8), gsc_helper_detect_cache_dir (3), gisco_clear_cache (2), gsc_api_load (2), gsc_load_shp (2), gisco_attributions (1), gisco_bulk_download (1), gisco_check_access (1), gisco_detect_cache_dir (1), gisco_get_airports (1), gisco_get_coastallines (1), gisco_get_communes (1), gisco_get_countries (1), gisco_get_grid (1), gisco_set_cache_dir (1), gsc_helper_cachedir (1), gsc_units_df (1), gsc_units_sf (1), set_utf8 (1) sfst_read (6), st_crs (1), st_drop_geometry (1), st_geometry (1) utilsunzip (4), menu (1), read.csv2 (1) rappdirsuser_config_dir (3) toolsfile_path_sans_ext (3) countrycodecountryname (1) graphicstext (1) statsdf (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis 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:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationAn interactive visualisation of calls between objects in the package has been uploaded as a workflow artefact. To view it, click on results from the latest 'pkgcheck' action, scroll to the bottom, and click on the 'visual-network' artefact. 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
5745451320 | CITATION-cff | success | 8f2c71 | 158 | 2023-08-03 |
5743386423 | Clear GHA caches manually | success | d2be5d | 11 | 2023-08-02 |
5745567210 | lintr | success | eab8ab | 8 | 2023-08-03 |
5745545242 | pages build and deployment | success | be351f | 76 | 2023-08-03 |
5745574474 | pkgcheck | NA | eab8ab | 2 | 2023-08-03 |
5745451322 | R-CMD-check | success | 8f2c71 | 721 | 2023-08-03 |
5745451323 | rogtemplate-gh-pages | success | 8f2c71 | 132 | 2023-08-03 |
5745451327 | test-coverage | success | 8f2c71 | 624 | 2023-08-03 |
5745459810 | update-docs | success | 8f2c71 | 188 | 2023-08-03 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following note:
- checking data for non-ASCII characters ... NOTE
Note: found 1178 marked UTF-8 strings
R CMD check generated the following check_fail:
- rcmdcheck_non_ascii_characters_in_data
Test coverage with covr
Package coverage: 97.47
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
gisco_get_lau | 26 |
gsc_api_url | 22 |
gisco_get_nuts | 19 |
gisco_get_countries | 18 |
gisco_get_units | 16 |
gsc_helper_detect_cache_dir | 16 |
gsc_units_sf | 15 |
Static code analyses with lintr
lintr found the following 15 potential issues:
message | number of times |
---|---|
Avoid library() and require() calls in packages | 6 |
Lines should not be more than 80 characters. | 9 |
Package Versions
package | version |
---|---|
pkgstats | 0.1.3.4 |
pkgcheck | 0.1.2.1 |
Checks for giscoR (v0.3.5.9000)
git hash: 282078e0
Important: All failing checks above must be addressed prior to proceeding
Package License: GPL-3
1. 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.
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(<path/to/repo>)', and examining the 'external_calls' table.
base
basename (19), file.path (12), url (12), paste0 (10), c (9), names (9), paste (9), try (9), q (7), grep (6), strsplit (5), unlist (5), length (4), list (4), getOption (3), gsub (3), suppressWarnings (3), file.exists (2), file.size (2), for (2), is.na (2), local (2), seq_len (2), which (2), as.character (1), as.data.frame (1), as.integer (1), eval (1), file (1), max (1), nchar (1), parse (1), rbind (1), readLines (1), switch (1), Sys.getenv (1), tempfile (1), tolower (1), tryCatch (1), vapply (1), warning (1)
giscoR
gsc_api_cache (11), gsc_api_url (8), gsc_helper_detect_cache_dir (3), gisco_clear_cache (2), gsc_api_load (2), gsc_load_shp (2), gisco_attributions (1), gisco_bulk_download (1), gisco_check_access (1), gisco_detect_cache_dir (1), gisco_get_airports (1), gisco_get_coastallines (1), gisco_get_communes (1), gisco_get_countries (1), gisco_get_grid (1), gisco_set_cache_dir (1), gsc_helper_cachedir (1), gsc_units_df (1), gsc_units_sf (1), set_utf8 (1)
sf
st_read (7), st_crs (1), st_drop_geometry (1), st_geometry (1)
utils
unzip (4), menu (1), read.csv2 (1)
rappdirs
user_config_dir (3)
tools
file_path_sans_ext (3)
countrycode
countryname (1)
graphics
text (1)
stats
df (1)
NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately.
2. 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:
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 exportedAll parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the
checks_to_markdown()
functionThe 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.2a. Network visualisation
An interactive visualisation of calls between objects in the package has been uploaded as a workflow artefact. To view it, click on results from the latest 'pkgcheck' action, scroll to the bottom, and click on the 'visual-network' artefact.
3.
goodpractice
and other checksDetails of goodpractice checks (click to open)
3a. Continuous Integration Badges
GitHub Workflow Results
3b.
goodpractice
resultsR CMD check
with rcmdcheckR CMD check generated the following note:
Note: found 1178 marked UTF-8 strings
R CMD check generated the following check_fail:
Test coverage with covr
Package coverage: 97.46
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
Static code analyses with lintr
lintr found the following 16 potential issues:
4. Other Checks
Details of other checks (click to open)
✖️ Package contains the following unexpected files:
Package Versions
The text was updated successfully, but these errors were encountered: