knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This vignette outlines the design decisions that have been taken during the development of the {authoritative}
R package, and provides some of the reasoning, and possible pros and cons of each decision.
This document is primarily intended to be read by those interested in understanding the code within the package and for potential package contributors.
This package has two main functionalities:
Author
and Authors@R
fields from DESCRIPTION
< Description of the scheme and/or conventions used for naming functions and arguments. This can be the use of a prefix on all exported functions, a name mould ("all function are named verb_object"), or any other naming convention that is used throughout the package. >
< Describe the data structures (i.e. vectors, <data.frames>
or classes) that are given as input to the key functions and what data structures the functions return. The design decisions around these I/O choices could also mention how it enhances interoperability with other R packages or pipelines (e.g. with %>%
). >
< A list of bullet points each explaining a design decision and its reasoning. >
This package imports stringi as a dependency. Most of the operations performed by the package are string manipulations, and stringi increases performance and readability of the code compared to base R functions.
< If the package has undergone any large refactoring this section can be used to explain the changes. >
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.