dieghernan / resmush

Compress local and online images using the reSmush.it API service https://resmush.it/

Home Page:https://dieghernan.github.io/resmush/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pkgcheck results - main

github-actions opened this issue · comments

Checks for resmush (v0.0.0.9000)

git hash: 6cd19282

  • ✔️ Package name is available
  • ✔️ has a 'codemeta.json' file.
  • ✖️ does not have a 'contributing' file.
  • ✔️ uses 'roxygen2'.
  • ✔️ 'DESCRIPTION' has a URL field.
  • ✔️ 'DESCRIPTION' has a BugReports field.
  • ✔️ Package has at least one HTML vignette
  • ✔️ All functions have examples.
  • ✔️ Package has continuous integration checks.
  • ✔️ Package coverage is 100%.
  • ✔️ R CMD check found no errors.
  • ✔️ R CMD check found no warnings.

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

Package License: MIT + file LICENSE


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.

type package ncalls
internal base 82
internal resmush 12
internal stats 2
imports httr 9
imports cli 5
imports utils 1
imports curl NA
suggests knitr NA
suggests rmarkdown NA
suggests testthat NA
linking_to NA 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(<path/to/repo>)', and examining the 'external_calls' table.

base

file (10), c (5), length (5), url (5), as.integer (4), format (4), getOption (4), lapply (4), units (4), vapply (4), file.size (3), for (3), seq_len (3), basename (2), body (2), character (2), data.frame (2), do.call (2), list (2), paste0 (2), seq (2), strsplit (2), unlist (2), dirname (1), file.path (1), system.file (1), tempdir (1)

resmush

my_file_ext (2), name_sans_ext (2), resmush_file_single (2), load_inst_to_temp (1), make_object_size (1), make_unique_paths (1), resmush_file (1), resmush_url_single (1), smush_from_url (1)

httr

GET (3), content (2), write_disk (2), POST (1), upload_file (1)

cli

cli_bullets (5)

stats

df (2)

utils

object.size (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:

  • code in R (100% in 4 files) and
  • 1 authors
  • 1 vignette
  • no internal data file
  • 4 imported packages
  • 2 exported functions (median 18 lines of code)
  • 18 non-exported functions in R (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 4 28.3
files_vignettes 1 68.4
files_tests 4 79.0
loc_R 249 27.8
loc_vignettes 83 19.8
loc_tests 453 73.0
num_vignettes 1 64.8
n_fns_r 20 27.9
n_fns_r_exported 2 6.8
n_fns_r_not_exported 18 37.6
n_fns_per_file_r 3 54.5
num_params_per_fn 5 69.6
loc_per_fn_r 18 54.7
loc_per_fn_r_exp 18 42.5
loc_per_fn_r_not_exp 16 52.7
rel_whitespace_R 32 46.2
rel_whitespace_vignettes 39 24.1
rel_whitespace_tests 40 83.4
doclines_per_fn_exp 65 76.5
doclines_per_fn_not_exp 0 0.0 TRUE
fn_call_network_size 11 34.5

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 checks

Details of goodpractice checks (click to open)

3a. Continuous Integration Badges

check-full.yaml

GitHub Workflow Results

id name conclusion sha run_number date
7610847482 Clear all Github actions caches manually success 6aa6fb 2 2024-01-22
7615356135 lintr success 6cd192 18 2024-01-22
7615375341 pages build and deployment with artifacts-next success c92e1c 16 2024-01-22
7616446965 pkgcheck NA 6cd192 1 2024-01-22
7615356137 pkgdown-gh-pages success 6cd192 14 2024-01-22
7615356136 R-CMD-check success 6cd192 19 2024-01-22
7615356138 test-coverage success 6cd192 18 2024-01-22

3b. goodpractice results

R CMD check with rcmdcheck

R CMD check generated the following note:

  1. checking package subdirectories ... NOTE
    Problems with news in ‘NEWS.md’:
    No news entries found.

Test coverage with covr

Package coverage: 100

Cyclocomplexity with cyclocomp

No functions have cyclocomplexity >= 15

Static code analyses with lintr

lintr found no issues with this package!


Package Versions

package version
pkgstats 0.1.3.9
pkgcheck 0.1.2.11

Checks for resmush (v0.0.1.9000)

git hash: 85a94b53

  • ✔️ Package name is available
  • ✔️ has a 'codemeta.json' file.
  • ✔️ has a 'contributing' file.
  • ✔️ uses 'roxygen2'.
  • ✔️ 'DESCRIPTION' has a URL field.
  • ✔️ 'DESCRIPTION' has a BugReports field.
  • ✔️ Package has at least one HTML vignette
  • ✔️ All functions have examples.
  • ✔️ Package has continuous integration checks.
  • ✔️ Package coverage is 100%.
  • ✔️ R CMD check found no errors.
  • ✔️ R CMD check found no warnings.

Package License: MIT + file LICENSE


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.

type package ncalls
internal base 79
internal resmush 11
internal stats 2
imports httr 9
imports cli 5
imports tools 4
imports utils 1
imports curl NA
suggests knitr NA
suggests rmarkdown NA
suggests testthat NA
linking_to NA 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(<path/to/repo>)', and examining the 'external_calls' table.

base

file (8), length (6), c (5), url (5), as.integer (4), format (4), getOption (4), lapply (4), paste0 (4), units (4), file.size (3), for (3), seq_len (3), basename (2), body (2), data.frame (2), do.call (2), list (2), list.files (2), seq (2), character (1), dir (1), dirname (1), file.path (1), force (1), system.file (1), tempdir (1), unlink (1)

resmush

add_suffix (2), load_inst_to_temp (1), make_object_size (1), make_unique_paths (1), resmush_clean_dir (1), resmush_dir (1), resmush_file (1), resmush_file_single (1), resmush_url_single (1), smush_from_url (1)

httr

GET (3), content (2), write_disk (2), POST (1), upload_file (1)

cli

cli_bullets (5)

tools

file_ext (2), file_path_sans_ext (2)

stats

df (2)

utils

object.size (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:

  • code in R (100% in 6 files) and
  • 1 authors
  • 1 vignette
  • no internal data file
  • 5 imported packages
  • 4 exported functions (median 9 lines of code)
  • 18 non-exported functions in R (median 15 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 6 40.3
files_vignettes 1 68.4
files_tests 6 84.4
loc_R 253 28.2
loc_vignettes 82 19.6
loc_tests 671 80.4
num_vignettes 1 64.8
n_fns_r 22 30.4
n_fns_r_exported 4 18.5
n_fns_r_not_exported 18 37.6
n_fns_per_file_r 2 40.2
num_params_per_fn 5 69.6
loc_per_fn_r 14 42.4
loc_per_fn_r_exp 9 19.2
loc_per_fn_r_not_exp 16 52.0
rel_whitespace_R 28 43.1
rel_whitespace_vignettes 41 25.8
rel_whitespace_tests 41 89.1
doclines_per_fn_exp 58 71.8
doclines_per_fn_not_exp 0 0.0 TRUE
fn_call_network_size 10 32.8

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 checks

Details of goodpractice checks (click to open)

3a. Continuous Integration Badges

check-full.yaml

GitHub Workflow Results

id name conclusion sha run_number date
7627561377 lintr success 85a94b 28 2024-01-23
7627585758 pages build and deployment with artifacts-next success ad5057 23 2024-01-23
7627576575 pkgcheck NA 85a94b 2 2024-01-23
7627561369 pkgdown-gh-pages success 85a94b 20 2024-01-23
7627561404 R-CMD-check NA 85a94b 29 2024-01-23
7627561375 test-coverage success 85a94b 28 2024-01-23

3b. goodpractice results

R CMD check with rcmdcheck

rcmdcheck found no errors, warnings, or notes

Test coverage with covr

Package coverage: 100

Cyclocomplexity with cyclocomp

No functions have cyclocomplexity >= 15

Static code analyses with lintr

lintr found no issues with this package!


Package Versions

package version
pkgstats 0.1.3.9
pkgcheck 0.1.2.11

Checks for resmush (v0.1.0)

git hash: b76c8c4e

  • ✔️ Package is already on CRAN.
  • ✔️ has a 'codemeta.json' file.
  • ✔️ has a 'contributing' file.
  • ✔️ uses 'roxygen2'.
  • ✔️ 'DESCRIPTION' has a URL field.
  • ✔️ 'DESCRIPTION' has a BugReports field.
  • ✔️ Package has at least one HTML vignette
  • ✔️ All functions have examples.
  • ✔️ Package has continuous integration checks.
  • ✔️ Package coverage is 100%.
  • ✔️ R CMD check found no errors.
  • ✔️ R CMD check found no warnings.

Package License: MIT + file LICENSE


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.

type package ncalls
internal base 94
internal resmush 22
internal stats 2
imports httr2 16
imports cli 4
imports tools 3
imports curl 1
imports utils 1
suggests grid NA
suggests knitr NA
suggests png NA
suggests rmarkdown NA
suggests testthat NA
linking_to NA 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(<path/to/repo>)', and examining the 'external_calls' table.

base

file (10), list (10), url (9), paste0 (6), file.path (4), for (4), getOption (4), length (4), seq_len (4), dirname (3), file.size (3), format (3), list.files (3), sum (3), tempdir (3), basename (2), data.frame (2), options (2), sprintf (2), system.file (2), unique (2), dir (1), LETTERS (1), nrow (1), replace (1), sample (1), seq (1), switch (1), tempfile (1), units (1)

resmush

make_pretty_size (7), add_suffix (2), resmush_file_single (2), download_to_temp (1), load_dir_to_temp (1), load_inst_to_temp (1), make_unique_paths (1), resmush_clean_dir (1), resmush_dir (1), resmush_file (1), resmush_url (1), resmush_url_single (1), smush_from_local (1), smush_from_url (1)

httr2

req_perform (6), request (5), resp_body_json (2), url_parse (2), req_body_multipart (1)

cli

cli_div (3), cli_rule (1)

tools

file_ext (2), file_path_sans_ext (1)

stats

df (2)

curl

form_file (1)

utils

object.size (1)


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:

  • code in R (100% in 7 files) and
  • 1 authors
  • 1 vignette
  • no internal data file
  • 5 imported packages
  • 4 exported functions (median 26 lines of code)
  • 26 non-exported functions in R (median 18 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 7 45.7
files_vignettes 1 68.4
files_tests 9 89.6
loc_R 404 41.0
loc_vignettes 100 25.2
loc_tests 994 86.9
num_vignettes 1 64.8
n_fns_r 30 40.1
n_fns_r_exported 4 18.5
n_fns_r_not_exported 26 48.5
n_fns_per_file_r 2 43.8
num_params_per_fn 7 85.3
loc_per_fn_r 18 56.7
loc_per_fn_r_exp 26 57.4
loc_per_fn_r_not_exp 18 60.1
rel_whitespace_R 30 57.9
rel_whitespace_vignettes 37 28.3
rel_whitespace_tests 40 93.5
doclines_per_fn_exp 78 84.0
doclines_per_fn_not_exp 0 0.0 TRUE
fn_call_network_size 18 44.2

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 checks

Details of goodpractice checks (click to open)

3a. Continuous Integration Badges

check-full.yaml

GitHub Workflow Results

id name conclusion sha run_number date
7796157187 CRAN Status Monitor failure b76c8c 3 2024-02-06
7768697475 lintr success 4aba7c 52 2024-02-03
7768863987 pages build and deployment success 2cbd2a 42 2024-02-03
7805950184 pkgcheck NA b76c8c 3 2024-02-06
7768697479 pkgdown-gh-pages success 4aba7c 34 2024-02-03
7768723109 R-CMD-check success 4aba7c 55 2024-02-03
7768697478 test-coverage success 4aba7c 50 2024-02-03
7768818762 update-docs success 4aba7c 9 2024-02-03

3b. goodpractice results

R CMD check with rcmdcheck

rcmdcheck found no errors, warnings, or notes

Test coverage with covr

Package coverage: 100

Cyclocomplexity with cyclocomp

No functions have cyclocomplexity >= 15

Static code analyses with lintr

lintr found no issues with this package!


Package Versions

package version
pkgstats 0.1.3.9
pkgcheck 0.1.2.14