Last active
April 14, 2021 08:55
-
-
Save martinctc/92ddd7508ceb6fb86d59914d74b61dc0 to your computer and use it in GitHub Desktop.
[List of R developer tools] #R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Regular R CMD check | |
devtools::check() | |
# Check R-hub | |
devtools::check_rhub() | |
# Cross-platform R CRAN check | |
rhub::check_for_cran() | |
# Return a character vector with the names of dependencies - CRAN only | |
miniCRAN::pkgDep() | |
# Create a graph representation of dependencies - CRAN only | |
dep_graph <- miniCRAN::makeDepGraph("package") | |
plot(dep_graph, legendPosition = c(-1, -1), vertex.size = 10, cex = 0.7) | |
# Analyze package dependencies | |
dstr::dstr("tidyverse/tibble") | |
dstr::dstr() # If you are in package directory | |
# Reducing package dependencies | |
https://recology.info/2018/10/limiting-dependencies/ | |
# Check package dependencies | |
# Requires some additional dependencies | |
# https://cran.r-project.org/web/packages/pkgndep/vignettes/pkgndep.html | |
pkgndep::pkgndep() | |
# Release on CRAN | |
devtools::release() | |
# Increment version | |
usethis::use_version() | |
# Check number of downloads | |
cranlogs::cran_downloads(packages = "wpa", from = "2021-04-06", to = "2021-04-06") | |
cranlogs::cran_downloads(packages = "wpa", when = "last-month") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment