Open github-actions[bot] opened 1 year ago
git hash: 395c1d1d
(Checks marked with :eyes: may be optionally addressed.)
Package License: MIT + file LICENSE
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 | 498|
|internal |tidyterra | 236|
|internal |grDevices | 71|
|internal |stats | 50|
|internal |graphics | 5|
|imports |dplyr | 95|
|imports |ggplot2 | 57|
|imports |terra | 56|
|imports |tibble | 36|
|imports |sf | 16|
|imports |scales | 11|
|imports |tidyr | 7|
|imports |rlang | 6|
|imports |cli | 5|
|imports |data.table | 3|
|suggests |isoband | NA|
|suggests |knitr | NA|
|suggests |lifecycle | NA|
|suggests |maptiles | NA|
|suggests |rmarkdown | NA|
|suggests |s2 | NA|
|suggests |testthat | NA|
|suggests |vdiffr | 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(
c (29), by (28), range (26), names (25), nrow (22), lapply (21), as.character (20), length (20), as.integer (19), seq_len (17), sort (15), setdiff (14), unique (14), attributes (13), drop (13), seq (10), levels (9), ncol (9), unlist (9), vapply (9), cbind (8), lengths (8), list (8), replace (8), rev (8), for (7), data.frame (6), max (6), min (6), as.data.frame (5), diff (5), all (4), as.list (4), attr (4), class (4), factor (4), integer (4), mean (4), rep (4), do.call (3), matrix (3), round (3), as.double (2), as.numeric (2), as.vector (2), character (2), format (2), gsub (2), is.na (2), is.numeric (2), logical (2), paste (2), seq_along (2), sprintf (2), sum (2), switch (2), tolower (2), any (1), as.logical (1), as.matrix (1), is.factor (1), make.names (1), q (1), remove (1), signif (1), unname (1), which (1)
extract_pal (18), as_tbl_internal (15), make_safe_index (12), as_spat_internal (11), as_coordinates (10), pull_crs (9), cross_blended_hypsometric_tints_db (6), hypsometric_tints_db (6), compute_group (4), compute_layer (4), pivot_longer_spat (4), tidyterra_ramp (4), isoband_z_matrix (3), override_aesthetics (3), prepare_aes_spatraster (3), cleanup_aesthetics (2), cross_blended.colors (2), cross_blended.colors2 (2), hypso.colors (2), hypso.colors2 (2), iso_to_path (2), iso_to_polygon (2), make_hexcol (2), restore_attr (2), terrain_pal (2), tidyterra_ramp2 (2), wiki_pal (2), across_all_of (1), allow_lambda (1), anti_join.SpatVector (1), arrange.SpatVector (1), as_sf (1), as_spatrast_attr (1), as_spatraster (1), as_spatvect_attr (1), as_spatvector (1), as_spatvector.data.frame (1), as_spatvector.sf (1), as_spatvector.sfc (1), as_spatvector.SpatVector (1), as_tbl_spat_attr (1), as_tbl_vector_internal (1), as_tibble.SpatRaster (1), as_tibble.SpatVector (1), autoplot.SpatRaster (1), autoplot.SpatVector (1), bind_spat_cols (1), bind_spat_rows (1), check_mixed_cols (1), check_regroups (1), compare_spatrasters (1), contour_breaks (1), count.SpatVector (1), cross_blended_pal (1), cross_blended_pal2 (1), crs_compare (1), distinct.SpatVector (1), draw_panel (1), drop_na.SpatRaster (1), drop_na.SpatVector (1), error_spat_join (1), filter.SpatRaster (1), filter.SpatVector (1), fortify.SpatRaster (1), fortify.SpatVector (1), full_join.SpatVector (1), geom_spatraster (1), geom_spatraster_contour (1), geom_spatraster_contour_filled (1), geom_spatraster_rgb (1), geom_spatvector (1), geom_spatvector_label (1), geom_spatvector_text (1), glimpse.SpatRaster (1), glimpse.SpatVector (1), group_by.SpatVector (1), group_data.SpatVector (1), group_indices.SpatVector (1), group_keys.SpatVector (1), group_prepare_spat (1), group_size.SpatVector (1), group_vars.SpatVector (1), groups.SpatVector (1), hypso_pal (1), hypso_pal2 (1), inner_join.SpatVector (1), is_grouped_spatvector (1), is_regular_grid (1), is_rowwise_df (1), is_rowwise_spatvector (1), left_join.SpatVector (1), make_safe_names (1), mutate.SpatRaster (1), mutate.SpatVector (1), n_groups.SpatVector (1), pretty_isoband_levels (1), pull.SpatRaster (1), pull.SpatVector (1), relocate.SpatRaster (1), relocate.SpatVector (1), remove_columns (1), rename_with.SpatRaster (1), rename_with.SpatVector (1), rename.SpatRaster (1), rename.SpatVector (1), replace_na.SpatRaster (1), replace_na.SpatVector (1), reproject_raster_on_stat (1), resample_spat (1), right_join.SpatVector (1), rowwise.SpatVector (1), scale_colour_cross_blended_b (1), scale_colour_cross_blended_c (1), scale_colour_cross_blended_d (1), scale_colour_cross_blended_tint_b (1), scale_colour_cross_blended_tint_c (1), scale_colour_cross_blended_tint_d (1), scale_colour_hypso_b (1), scale_colour_hypso_c (1), scale_colour_hypso_d (1), scale_colour_hypso_tint_b (1), slice_cols (1), slice_rows (1), whitebox.colors (1), wiki.colors (1), xyz_to_isobands (1), xyz_to_isolines (1)
left_join (9), select (9), group_vars (7), groups (7), bind_cols (6), slice (6), count (5), inner_join (4), everything (2), filter (2), group_by (2), mutate (2), relocate (2), rename (2), rename_with (2), slice_head (2), slice_max (2), slice_min (2), slice_sample (2), slice_tail (2), tally (2), transmute (2), ungroup (2), all_of (1), anti_join (1), arrange (1), bind_rows (1), distinct (1), full_join (1), group_size (1), pull (1), right_join (1), rowwise (1), semi_join (1), summarise (1)
palette (45), colors (23), as.raster (2), terrain.colors (1)
alpha (18), aes (15), after_stat (8), ggproto (6), layer (5), ggplot (2), resolution (2), GeomRaster (1)
as.data.frame (11), nlyr (10), aggregate (7), vect (7), subset (4), rast (3), crs (2), ext (2), minmax (2), ncell (2), project (2), res (2), rowColFromCell (1), trim (1)
df (43), dist (3), end (2), var (2)
as_tibble (30), tibble (6)
st_point (5), st_sfc (5), st_as_sf (2), st_as_text (1), st_drop_geometry (1), st_geometry (1), st_is_empty (1)
rescale (8), gradient_n_pal (2), colour_ramp (1)
drop_na (4), replace_na (2), pivot_longer (1)
list2 (4), as_label (2)
cli_bullets (4), style_bold (1)
layout (4), title (1)
as.data.table (3)
base
tidyterra
dplyr
grDevices
ggplot2
terra
stats
tibble
sf
scales
tidyr
rlang
cli
graphics
data.table
This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.
The package has: - code in R (100% in 47 files) and - 1 authors - 4 vignettes - 3 internal data files - 11 imported packages - 161 exported functions (median 11 lines of code) - 292 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](https://docs.ropensci.org/pkgcheck/reference/checks_to_markdown.html) 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 | 47| 95.1| | |files_vignettes | 7| 98.5| | |files_tests | 52| 99.2| | |loc_R | 3682| 92.8| | |loc_vignettes | 1015| 90.9| | |loc_tests | 6689| 98.7|TRUE | |num_vignettes | 4| 96.6|TRUE | |data_size_total | 69709| 81.4| | |data_size_median | 8120| 77.8| | |n_fns_r | 453| 96.8|TRUE | |n_fns_r_exported | 161| 97.8|TRUE | |n_fns_r_not_exported | 292| 96.2|TRUE | |n_fns_per_file_r | 5| 67.8| | |num_params_per_fn | 4| 54.6| | |loc_per_fn_r | 12| 36.1| | |loc_per_fn_r_exp | 11| 25.1| | |loc_per_fn_r_not_exp | 15| 49.5| | |rel_whitespace_R | 32| 96.6|TRUE | |rel_whitespace_vignettes | 26| 90.2| | |rel_whitespace_tests | 45| 99.8|TRUE | |doclines_per_fn_exp | 173| 97.9|TRUE | |doclines_per_fn_not_exp | 0| 0.0|TRUE | |fn_call_network_size | 279| 91.6| | ---
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.
goodpractice
and other checks#### 3a. Continuous Integration Badges [![check-full.yaml](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions) **GitHub Workflow Results** | id|name |conclusion |sha | run_number|date | |----------:|:--------------------------|:----------|:------|----------:|:----------| | 5731737025|lintr |success |0e9be1 | 6|2023-08-01 | | 5731895606|pages build and deployment |success |88d6df | 265|2023-08-01 | | 5731895772|pkgcheck |NA |395c1d | 2|2023-08-01 | | 5731705055|pkgdown-gh-pages |success |60a36c | 206|2023-08-01 | | 5731737026|R-CMD-check |success |0e9be1 | 444|2023-08-01 | | 5726041115|R-CMD-check-terra-devel |failure |fc5871 | 101|2023-08-01 | | 5731737031|test-coverage |success |0e9be1 | 316|2023-08-01 | | 5731709672|update-docs |success |60a36c | 63|2023-08-01 | --- #### 3b. `goodpractice` results #### `R CMD check` with [rcmdcheck](https://r-lib.github.io/rcmdcheck/) rcmdcheck found no errors, warnings, or notes #### Test coverage with [covr](https://covr.r-lib.org/) Package coverage: 99.32 #### Cyclocomplexity with [cyclocomp](https://github.com/MangoTheCat/cyclocomp) Error : Failed to install 'tidyterra' from local: can't convert package data.table with RemoteType 'any' to remote #### Static code analyses with [lintr](https://github.com/jimhester/lintr) [lintr](https://github.com/jimhester/lintr) found the following 39 potential issues: message | number of times --- | --- Avoid library() and require() calls in packages | 31 Lines should not be more than 80 characters. | 8
:heavy_multiplication_x: The following 2 function names are duplicated in other packages: - - `as_sf` from rmapzen - - `slice_rows` from purrrlyr
|package |version | |:--------|:-------| |pkgstats |0.1.3.4 | |pkgcheck |0.1.2.1 |
git hash: 4cd0c7a1
(Checks marked with :eyes: may be optionally addressed.)
Package License: MIT + file LICENSE
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 | 498|
|internal |tidyterra | 236|
|internal |grDevices | 71|
|internal |stats | 50|
|internal |graphics | 5|
|imports |dplyr | 95|
|imports |ggplot2 | 57|
|imports |terra | 56|
|imports |tibble | 36|
|imports |sf | 16|
|imports |scales | 11|
|imports |tidyr | 7|
|imports |rlang | 6|
|imports |cli | 5|
|imports |data.table | 3|
|suggests |isoband | NA|
|suggests |knitr | NA|
|suggests |lifecycle | NA|
|suggests |maptiles | NA|
|suggests |rmarkdown | NA|
|suggests |s2 | NA|
|suggests |testthat | NA|
|suggests |vdiffr | 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(
c (29), by (28), range (26), names (25), nrow (22), lapply (21), as.character (20), length (20), as.integer (19), seq_len (17), sort (15), setdiff (14), unique (14), attributes (13), drop (13), seq (10), levels (9), ncol (9), unlist (9), vapply (9), cbind (8), lengths (8), list (8), replace (8), rev (8), for (7), data.frame (6), max (6), min (6), as.data.frame (5), diff (5), all (4), as.list (4), attr (4), class (4), factor (4), integer (4), mean (4), rep (4), do.call (3), matrix (3), round (3), as.double (2), as.numeric (2), as.vector (2), character (2), format (2), gsub (2), is.na (2), is.numeric (2), logical (2), paste (2), seq_along (2), sprintf (2), sum (2), switch (2), tolower (2), any (1), as.logical (1), as.matrix (1), is.factor (1), make.names (1), q (1), remove (1), signif (1), unname (1), which (1)
extract_pal (18), as_tbl_internal (15), make_safe_index (12), as_spat_internal (11), as_coordinates (10), pull_crs (9), cross_blended_hypsometric_tints_db (6), hypsometric_tints_db (6), compute_group (4), compute_layer (4), pivot_longer_spat (4), tidyterra_ramp (4), isoband_z_matrix (3), override_aesthetics (3), prepare_aes_spatraster (3), cleanup_aesthetics (2), cross_blended.colors (2), cross_blended.colors2 (2), hypso.colors (2), hypso.colors2 (2), iso_to_path (2), iso_to_polygon (2), make_hexcol (2), restore_attr (2), terrain_pal (2), tidyterra_ramp2 (2), wiki_pal (2), across_all_of (1), allow_lambda (1), anti_join.SpatVector (1), arrange.SpatVector (1), as_sf (1), as_spatrast_attr (1), as_spatraster (1), as_spatvect_attr (1), as_spatvector (1), as_spatvector.data.frame (1), as_spatvector.sf (1), as_spatvector.sfc (1), as_spatvector.SpatVector (1), as_tbl_spat_attr (1), as_tbl_vector_internal (1), as_tibble.SpatRaster (1), as_tibble.SpatVector (1), autoplot.SpatRaster (1), autoplot.SpatVector (1), bind_spat_cols (1), bind_spat_rows (1), check_mixed_cols (1), check_regroups (1), compare_spatrasters (1), contour_breaks (1), count.SpatVector (1), cross_blended_pal (1), cross_blended_pal2 (1), crs_compare (1), distinct.SpatVector (1), draw_panel (1), drop_na.SpatRaster (1), drop_na.SpatVector (1), error_spat_join (1), filter.SpatRaster (1), filter.SpatVector (1), fortify.SpatRaster (1), fortify.SpatVector (1), full_join.SpatVector (1), geom_spatraster (1), geom_spatraster_contour (1), geom_spatraster_contour_filled (1), geom_spatraster_rgb (1), geom_spatvector (1), geom_spatvector_label (1), geom_spatvector_text (1), glimpse.SpatRaster (1), glimpse.SpatVector (1), group_by.SpatVector (1), group_data.SpatVector (1), group_indices.SpatVector (1), group_keys.SpatVector (1), group_prepare_spat (1), group_size.SpatVector (1), group_vars.SpatVector (1), groups.SpatVector (1), hypso_pal (1), hypso_pal2 (1), inner_join.SpatVector (1), is_grouped_spatvector (1), is_regular_grid (1), is_rowwise_df (1), is_rowwise_spatvector (1), left_join.SpatVector (1), make_safe_names (1), mutate.SpatRaster (1), mutate.SpatVector (1), n_groups.SpatVector (1), pretty_isoband_levels (1), pull.SpatRaster (1), pull.SpatVector (1), relocate.SpatRaster (1), relocate.SpatVector (1), remove_columns (1), rename_with.SpatRaster (1), rename_with.SpatVector (1), rename.SpatRaster (1), rename.SpatVector (1), replace_na.SpatRaster (1), replace_na.SpatVector (1), reproject_raster_on_stat (1), resample_spat (1), right_join.SpatVector (1), rowwise.SpatVector (1), scale_colour_cross_blended_b (1), scale_colour_cross_blended_c (1), scale_colour_cross_blended_d (1), scale_colour_cross_blended_tint_b (1), scale_colour_cross_blended_tint_c (1), scale_colour_cross_blended_tint_d (1), scale_colour_hypso_b (1), scale_colour_hypso_c (1), scale_colour_hypso_d (1), scale_colour_hypso_tint_b (1), slice_cols (1), slice_rows (1), whitebox.colors (1), wiki.colors (1), xyz_to_isobands (1), xyz_to_isolines (1)
left_join (9), select (9), group_vars (7), groups (7), bind_cols (6), slice (6), count (5), inner_join (4), everything (2), filter (2), group_by (2), mutate (2), relocate (2), rename (2), rename_with (2), slice_head (2), slice_max (2), slice_min (2), slice_sample (2), slice_tail (2), tally (2), transmute (2), ungroup (2), all_of (1), anti_join (1), arrange (1), bind_rows (1), distinct (1), full_join (1), group_size (1), pull (1), right_join (1), rowwise (1), semi_join (1), summarise (1)
palette (45), colors (23), as.raster (2), terrain.colors (1)
alpha (18), aes (15), after_stat (8), ggproto (6), layer (5), ggplot (2), resolution (2), GeomRaster (1)
as.data.frame (11), nlyr (10), aggregate (7), vect (7), subset (4), rast (3), crs (2), ext (2), minmax (2), ncell (2), project (2), res (2), rowColFromCell (1), trim (1)
df (43), dist (3), end (2), var (2)
as_tibble (30), tibble (6)
st_point (5), st_sfc (5), st_as_sf (2), st_as_text (1), st_drop_geometry (1), st_geometry (1), st_is_empty (1)
rescale (8), gradient_n_pal (2), colour_ramp (1)
drop_na (4), replace_na (2), pivot_longer (1)
list2 (4), as_label (2)
cli_bullets (4), style_bold (1)
layout (4), title (1)
as.data.table (3)
base
tidyterra
dplyr
grDevices
ggplot2
terra
stats
tibble
sf
scales
tidyr
rlang
cli
graphics
data.table
This package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing.
The package has: - code in R (100% in 47 files) and - 1 authors - 4 vignettes - 3 internal data files - 11 imported packages - 161 exported functions (median 11 lines of code) - 292 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](https://docs.ropensci.org/pkgcheck/reference/checks_to_markdown.html) 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 | 47| 95.1| | |files_vignettes | 7| 98.5| | |files_tests | 52| 99.2| | |loc_R | 3682| 92.8| | |loc_vignettes | 1015| 90.9| | |loc_tests | 6689| 98.7|TRUE | |num_vignettes | 4| 96.6|TRUE | |data_size_total | 69709| 81.4| | |data_size_median | 8120| 77.8| | |n_fns_r | 453| 96.8|TRUE | |n_fns_r_exported | 161| 97.8|TRUE | |n_fns_r_not_exported | 292| 96.2|TRUE | |n_fns_per_file_r | 5| 67.8| | |num_params_per_fn | 4| 54.6| | |loc_per_fn_r | 12| 36.1| | |loc_per_fn_r_exp | 11| 25.1| | |loc_per_fn_r_not_exp | 15| 49.5| | |rel_whitespace_R | 32| 96.6|TRUE | |rel_whitespace_vignettes | 26| 90.2| | |rel_whitespace_tests | 45| 99.8|TRUE | |doclines_per_fn_exp | 173| 97.9|TRUE | |doclines_per_fn_not_exp | 0| 0.0|TRUE | |fn_call_network_size | 279| 91.6| | ---
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.
goodpractice
and other checks#### 3a. Continuous Integration Badges [![check-full.yaml](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions) **GitHub Workflow Results** | id|name |conclusion |sha | run_number|date | |----------:|:--------------------------|:----------|:------|----------:|:----------| | 5807705136|CRAN Status Monitor |success |395c1d | 77|2023-08-09 | | 5822606949|lintr |success |4cd0c7 | 10|2023-08-10 | | 5822722308|pages build and deployment |success |9c28fc | 269|2023-08-10 | | 5822621787|pkgcheck |NA |4cd0c7 | 3|2023-08-10 | | 5822606966|pkgdown-gh-pages |success |4cd0c7 | 210|2023-08-10 | | 5822606967|R-CMD-check |NA |4cd0c7 | 449|2023-08-10 | | 5796188481|R-CMD-check-terra-devel |failure |395c1d | 103|2023-08-08 | | 5822627676|revdepcheck |NA |4cd0c7 | 14|2023-08-10 | | 5822606958|test-coverage |success |4cd0c7 | 318|2023-08-10 | --- #### 3b. `goodpractice` results #### `R CMD check` with [rcmdcheck](https://r-lib.github.io/rcmdcheck/) rcmdcheck found no errors, warnings, or notes #### Test coverage with [covr](https://covr.r-lib.org/) Package coverage: 99.32 #### Cyclocomplexity with [cyclocomp](https://github.com/MangoTheCat/cyclocomp) Error : Failed to install 'tidyterra' from local: can't convert package data.table with RemoteType 'any' to remote #### Static code analyses with [lintr](https://github.com/jimhester/lintr) [lintr](https://github.com/jimhester/lintr) found the following 39 potential issues: message | number of times --- | --- Avoid library() and require() calls in packages | 31 Lines should not be more than 80 characters. | 8
:heavy_multiplication_x: The following 2 function names are duplicated in other packages: - - `as_sf` from rmapzen - - `slice_rows` from purrrlyr
|package |version | |:--------|:-------| |pkgstats |0.1.3.4 | |pkgcheck |0.1.2.1 |
Checks for tidyterra (v0.4.0)
git hash: aa5eeb01
Important: All failing checks above must be addressed prior to proceeding
(Checks marked with :eyes: may be optionally addressed.)
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 | 498| |internal |tidyterra | 236| |internal |grDevices | 71| |internal |stats | 50| |internal |graphics | 5| |imports |dplyr | 95| |imports |ggplot2 | 57| |imports |terra | 56| |imports |tibble | 36| |imports |sf | 16| |imports |scales | 11| |imports |tidyr | 7| |imports |rlang | 6| |imports |cli | 5| |imports |data.table | 3| |suggests |isoband | NA| |suggests |knitr | NA| |suggests |lifecycle | NA| |suggests |maptiles | NA| |suggests |rmarkdown | NA| |suggests |s2 | NA| |suggests |testthat | NA| |suggests |vdiffr | 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()', and examining the 'external_calls' table.
base
c (29), by (28), range (26), names (25), nrow (22), lapply (21), as.character (20), length (20), as.integer (19), seq_len (17), sort (15), setdiff (14), unique (14), attributes (13), drop (13), seq (10), levels (9), ncol (9), unlist (9), vapply (9), cbind (8), lengths (8), list (8), replace (8), rev (8), for (7), data.frame (6), max (6), min (6), as.data.frame (5), diff (5), all (4), as.list (4), attr (4), class (4), factor (4), integer (4), mean (4), rep (4), do.call (3), matrix (3), round (3), as.double (2), as.numeric (2), as.vector (2), character (2), format (2), gsub (2), is.na (2), is.numeric (2), logical (2), paste (2), seq_along (2), sprintf (2), sum (2), switch (2), tolower (2), any (1), as.logical (1), as.matrix (1), is.factor (1), make.names (1), q (1), remove (1), signif (1), unname (1), which (1)
tidyterra
extract_pal (18), as_tbl_internal (15), make_safe_index (12), as_spat_internal (11), as_coordinates (10), pull_crs (9), cross_blended_hypsometric_tints_db (6), hypsometric_tints_db (6), compute_group (4), compute_layer (4), pivot_longer_spat (4), tidyterra_ramp (4), isoband_z_matrix (3), override_aesthetics (3), prepare_aes_spatraster (3), cleanup_aesthetics (2), cross_blended.colors (2), cross_blended.colors2 (2), hypso.colors (2), hypso.colors2 (2), iso_to_path (2), iso_to_polygon (2), make_hexcol (2), restore_attr (2), terrain_pal (2), tidyterra_ramp2 (2), wiki_pal (2), across_all_of (1), allow_lambda (1), anti_join.SpatVector (1), arrange.SpatVector (1), as_sf (1), as_spatrast_attr (1), as_spatraster (1), as_spatvect_attr (1), as_spatvector (1), as_spatvector.data.frame (1), as_spatvector.sf (1), as_spatvector.sfc (1), as_spatvector.SpatVector (1), as_tbl_spat_attr (1), as_tbl_vector_internal (1), as_tibble.SpatRaster (1), as_tibble.SpatVector (1), autoplot.SpatRaster (1), autoplot.SpatVector (1), bind_spat_cols (1), bind_spat_rows (1), check_mixed_cols (1), check_regroups (1), compare_spatrasters (1), contour_breaks (1), count.SpatVector (1), cross_blended_pal (1), cross_blended_pal2 (1), crs_compare (1), distinct.SpatVector (1), draw_panel (1), drop_na.SpatRaster (1), drop_na.SpatVector (1), error_spat_join (1), filter.SpatRaster (1), filter.SpatVector (1), fortify.SpatRaster (1), fortify.SpatVector (1), full_join.SpatVector (1), geom_spatraster (1), geom_spatraster_contour (1), geom_spatraster_contour_filled (1), geom_spatraster_rgb (1), geom_spatvector (1), geom_spatvector_label (1), geom_spatvector_text (1), glimpse.SpatRaster (1), glimpse.SpatVector (1), group_by.SpatVector (1), group_data.SpatVector (1), group_indices.SpatVector (1), group_keys.SpatVector (1), group_prepare_spat (1), group_size.SpatVector (1), group_vars.SpatVector (1), groups.SpatVector (1), hypso_pal (1), hypso_pal2 (1), inner_join.SpatVector (1), is_grouped_spatvector (1), is_regular_grid (1), is_rowwise_df (1), is_rowwise_spatvector (1), left_join.SpatVector (1), make_safe_names (1), mutate.SpatRaster (1), mutate.SpatVector (1), n_groups.SpatVector (1), pretty_isoband_levels (1), pull.SpatRaster (1), pull.SpatVector (1), relocate.SpatRaster (1), relocate.SpatVector (1), remove_columns (1), rename_with.SpatRaster (1), rename_with.SpatVector (1), rename.SpatRaster (1), rename.SpatVector (1), replace_na.SpatRaster (1), replace_na.SpatVector (1), reproject_raster_on_stat (1), resample_spat (1), right_join.SpatVector (1), rowwise.SpatVector (1), scale_colour_cross_blended_b (1), scale_colour_cross_blended_c (1), scale_colour_cross_blended_d (1), scale_colour_cross_blended_tint_b (1), scale_colour_cross_blended_tint_c (1), scale_colour_cross_blended_tint_d (1), scale_colour_hypso_b (1), scale_colour_hypso_c (1), scale_colour_hypso_d (1), scale_colour_hypso_tint_b (1), slice_cols (1), slice_rows (1), whitebox.colors (1), wiki.colors (1), xyz_to_isobands (1), xyz_to_isolines (1)
dplyr
left_join (9), select (9), group_vars (7), groups (7), bind_cols (6), slice (6), count (5), inner_join (4), everything (2), filter (2), group_by (2), mutate (2), relocate (2), rename (2), rename_with (2), slice_head (2), slice_max (2), slice_min (2), slice_sample (2), slice_tail (2), tally (2), transmute (2), ungroup (2), all_of (1), anti_join (1), arrange (1), bind_rows (1), distinct (1), full_join (1), group_size (1), pull (1), right_join (1), rowwise (1), semi_join (1), summarise (1)
grDevices
palette (45), colors (23), as.raster (2), terrain.colors (1)
ggplot2
alpha (18), aes (15), after_stat (8), ggproto (6), layer (5), ggplot (2), resolution (2), GeomRaster (1)
terra
as.data.frame (11), nlyr (10), aggregate (7), vect (7), subset (4), rast (3), crs (2), ext (2), minmax (2), ncell (2), project (2), res (2), rowColFromCell (1), trim (1)
stats
df (43), dist (3), end (2), var (2)
tibble
as_tibble (30), tibble (6)
sf
st_point (5), st_sfc (5), st_as_sf (2), st_as_text (1), st_drop_geometry (1), st_geometry (1), st_is_empty (1)
scales
rescale (8), gradient_n_pal (2), colour_ramp (1)
tidyr
drop_na (4), replace_na (2), pivot_longer (1)
rlang
list2 (4), as_label (2)
cli
cli_bullets (4), style_bold (1)
graphics
layout (4), title (1)
data.table
as.data.table (3)
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 47 files) and - 1 authors - 4 vignettes - 3 internal data files - 11 imported packages - 161 exported functions (median 11 lines of code) - 292 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](https://docs.ropensci.org/pkgcheck/reference/checks_to_markdown.html) 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 | 47| 95.1| | |files_vignettes | 7| 98.5| | |files_tests | 52| 99.2| | |loc_R | 3682| 92.8| | |loc_vignettes | 1017| 91.0| | |loc_tests | 6689| 98.7|TRUE | |num_vignettes | 4| 96.6|TRUE | |data_size_total | 68032| 81.2| | |data_size_median | 6432| 76.2| | |n_fns_r | 453| 96.8|TRUE | |n_fns_r_exported | 161| 97.8|TRUE | |n_fns_r_not_exported | 292| 96.2|TRUE | |n_fns_per_file_r | 5| 67.8| | |num_params_per_fn | 4| 54.6| | |loc_per_fn_r | 12| 36.1| | |loc_per_fn_r_exp | 11| 25.1| | |loc_per_fn_r_not_exp | 15| 49.5| | |rel_whitespace_R | 32| 96.6|TRUE | |rel_whitespace_vignettes | 26| 90.2| | |rel_whitespace_tests | 45| 99.8|TRUE | |doclines_per_fn_exp | 173| 97.9|TRUE | |doclines_per_fn_not_exp | 0| 0.0|TRUE | |fn_call_network_size | 279| 91.6| | ---
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 [![check-full.yaml](https://github.com/dieghernan/tidyterra/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/tidyterra/actions) **GitHub Workflow Results** | id|name |conclusion |sha | run_number|date | |----------:|:--------------------------|:----------|:------|----------:|:----------| | 5713075531|Clean pkgdown manually |success |238cb2 | 28|2023-07-31 | | 5713398923|CRAN Status Monitor |success |238cb2 | 73|2023-07-31 | | 5731360721|lintr |success |aa5eeb | 4|2023-08-01 | | 5731479882|pages build and deployment |success |6cd54c | 263|2023-08-01 | | 5731366868|pkgcheck |NA |aa5eeb | 1|2023-08-01 | | 5731360724|pkgdown-gh-pages |success |aa5eeb | 205|2023-08-01 | | 5731360725|R-CMD-check |success |aa5eeb | 442|2023-08-01 | | 5726041115|R-CMD-check-terra-devel |failure |fc5871 | 101|2023-08-01 | | 5731360740|test-coverage |success |aa5eeb | 314|2023-08-01 | --- #### 3b. `goodpractice` results #### `R CMD check` with [rcmdcheck](https://r-lib.github.io/rcmdcheck/) rcmdcheck found no errors, warnings, or notes #### Test coverage with [covr](https://covr.r-lib.org/) Package coverage: 99.32 #### Cyclocomplexity with [cyclocomp](https://github.com/MangoTheCat/cyclocomp) Error : Failed to install 'tidyterra' from local: can't convert package data.table with RemoteType 'any' to remote #### Static code analyses with [lintr](https://github.com/jimhester/lintr) [lintr](https://github.com/jimhester/lintr) found the following 39 potential issues: message | number of times --- | --- Avoid library() and require() calls in packages | 31 Lines should not be more than 80 characters. | 8
4. Other Checks
Details of other checks (click to open)
:heavy_multiplication_x: The following 2 function names are duplicated in other packages: - - `as_sf` from rmapzen - - `slice_rows` from purrrlyr
Package Versions
|package |version | |:--------|:-------| |pkgstats |0.1.3.4 | |pkgcheck |0.1.2.1 |