Skip to content

A R package designed to improve package code quality by assessing relationships between functions in packages.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

aaronrudkin/werner

Repository files navigation

werner: Improve R package quality by mapping it.

Build Status Coverage Status

Installing werner

To install the latest development release of werner, please ensure that you are running version 3.3 or later of R and run the following code:

install.packages("devtools")
devtools::install_github("aaronrudkin/werner")

Getting started

werner contains two main functions.

explore_package returns a list of connections between functions:

library(werner)
explore_package("werner")

adjacency_matrix returns an adjacency matrix (by default a sparse matrix from the Matrix package, optionally a base R matrix object.)

library(werner)
adjacency_matrix("werner") # Sparse matrix
adjacency_matrix("werner", coerce_to_matrix=TRUE) # Base R matrix.

These adjacency matrices can be fed to igraph or other graphing packages in R.

Code Style

Code should adhere to the tidyverse style guide, with the exception of assignment operators, which should be the traditional "=" rather than the "<-" assignment. You can check code style by opening the package Rproj file and running:

library(goodpractice)
gp(checks = setdiff(all_checks(), "lintr_assignment_linter"))

About

A R package designed to improve package code quality by assessing relationships between functions in packages.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages