deps/deps.md

Dependency Analysis

Chris (February 02, 2019)

Introduction

This notebook explores the dependencies used in the stlcsb package:

Dependencies

This notebook requires the following packages:

# tidyverse packages
library(dplyr)
## 
## Attaching package: 'dplyr'

## The following objects are masked from 'package:stats':
## 
##     filter, lag

## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
# other packages
library(itdepends) # install from GitHub
library(knitr)

The package itdepends will need to be installed from GitHub:

remotes::install_github("jimhester/itdepends")

Count Dependencies

dep_usage_pkg("stlcsb") %>%
  count(pkg, sort = TRUE) %>% 
  kable()

| pkg | n | | :-------- | --: | | base | 830 | | rlang | 59 | | dplyr | 58 | | stlcsb | 34 | | readr | 12 | | lubridate | 6 | | stringr | 5 | | utils | 3 | | sf | 2 | | xml2 | 2 | | purrr | 1 | | readxl | 1 | | rvest | 1 |

Count Functions

dep_usage_pkg("stlcsb") %>%
  group_by(pkg) %>%
  count(fun, sort = TRUE) %>% 
  kable()

| pkg | fun | n | | :-------- | :---------------- | --: | | base | ! | 118 | | base | \<- | 116 | | base | { | 113 | | base | if | 100 | | base | %in% | 45 | | base | missing | 42 | | base | stop | 39 | | base | \== | 32 | | base | \= | 26 | | rlang | enquo | 20 | | base | ~ | 19 | | base | c | 19 | | base | is.character | 19 | | base | $ | 18 | | dplyr | %>% | 17 | | base | append | 12 | | base | return | 12 | | rlang | quo_name | 11 | | rlang | := | 10 | | dplyr | mutate | 9 | | rlang | quo | 9 | | rlang | sym | 9 | | base | as.list | 8 | | base | class | 8 | | base | match.call | 8 | | dplyr | as_tibble | 8 | | dplyr | filter | 8 | | base | - | 6 | | base | is.logical | 6 | | dplyr | select | 6 | | base | & | 5 | | base | && | 5 | | base | paste0 | 5 | | readr | col_character | 5 | | base | != | 4 | | base | is.na | 4 | | base | message | 4 | | base | nrow | 4 | | dplyr | rename | 4 | | base | \< | 3 | | base | is.numeric | 3 | | readr | col_integer | 3 | | stringr | str_detect | 3 | | base | ( | 2 | | base | | | 2 | | base | all | 2 | | base | ifelse | 2 | | base | match | 2 | | base | names | 2 | | base | tempdir | 2 | | base | tolower | 2 | | dplyr | case_when | 2 | | dplyr | slice | 2 | | lubridate | day | 2 | | lubridate | month | 2 | | lubridate | year | 2 | | readr | col_double | 2 | | stlcsb | cat_admin | 2 | | stlcsb | cat_animal | 2 | | stlcsb | cat_construction | 2 | | stlcsb | cat_debris | 2 | | stlcsb | cat_degrade | 2 | | stlcsb | cat_disturbance | 2 | | stlcsb | cat_event | 2 | | stlcsb | cat_health | 2 | | stlcsb | cat_landscape | 2 | | stlcsb | cat_law | 2 | | stlcsb | cat_maintenance | 2 | | stlcsb | cat_nature | 2 | | stlcsb | cat_road | 2 | | stlcsb | cat_sewer | 2 | | stlcsb | cat_traffic | 2 | | stlcsb | cat_vacant | 2 | | stlcsb | cat_waste | 2 | | utils | download.file | 2 | | base | [ | 1 | | base | + | 1 | | base | anyNA | 1 | | base | as.character | 1 | | base | dir | 1 | | base | file.path | 1 | | base | for | 1 | | base | nchar | 1 | | base | suppressWarnings | 1 | | base | unlink | 1 | | base | unlist | 1 | | dplyr | arrange | 1 | | dplyr | bind_rows | 1 | | purrr | map | 1 | | readr | cols | 1 | | readr | read_csv | 1 | | readxl | read_excel | 1 | | rvest | html_node | 1 | | sf | st_as_sf | 1 | | sf | st_transform | 1 | | stringr | str_c | 1 | | stringr | str_extract | 1 | | utils | unzip | 1 | | xml2 | read_html | 1 | | xml2 | xml_text | 1 |



slu-openGIS/stlcsb documentation built on Jan. 28, 2024, 12:10 p.m.