Title: | Easily Install and Load the 'healthyverse' |
Version: | 1.1.0 |
Description: | The 'healthyverse' is a set of packages that work in harmony because they share common data representations and 'API' design. This package is designed to make it easy to install and load multiple 'healthyverse' packages in a single step. |
License: | MIT + file LICENSE |
Encoding: | UTF-8 |
RoxygenNote: | 7.3.2.9000 |
URL: | https://www.spsanderson.com/healthyverse/, https://github.com/spsanderson/healthyverse |
BugReports: | https://github.com/spsanderson/healthyverse/issues |
Depends: | R (≥ 3.4.0) |
Suggests: | knitr, rmarkdown |
VignetteBuilder: | knitr |
Imports: | healthyR (≥ 0.2.2), healthyR.data (≥ 1.1.1), healthyR.ts (≥ 0.3.0), healthyR.ai (≥ 0.1.0), TidyDensity (≥ 1.5.0), tidyAML (≥ 0.0.5), RandomWalker (≥ 0.1.0), dplyr (≥ 1.1.4), purrr (≥ 1.0.2), tibble (≥ 3.2.1), magrittr (≥ 2.0.3), rlang (≥ 1.1.4), crayon (≥ 1.5.3), rstudioapi (≥ 0.16.0), cli (≥ 3.6.3) |
NeedsCompilation: | no |
Packaged: | 2024-09-18 02:41:38 UTC; steve |
Author: | Steven Sanderson |
Maintainer: | Steven Sanderson <spsanderson@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2024-09-18 02:50:02 UTC |
healthyverse: Easily Install and Load the 'healthyverse'
Description
The 'healthyverse' is a set of packages that work in harmony because they share common data representations and 'API' design. This package is designed to make it easy to install and load multiple 'healthyverse' packages in a single step.
Author(s)
Maintainer: Steven Sanderson spsanderson@gmail.com (ORCID) [copyright holder]
See Also
Useful links:
Report bugs at https://github.com/spsanderson/healthyverse/issues
Pipe operator
Description
See magrittr::%>%
for details.
Usage
lhs %>% rhs
Value
These functions do not return a value but rather are used for side effects.
Conflicts between the healthyverse and other packages
Description
This function lists all the conflicts between packages in the healthyverse and other packages that you have loaded.
Usage
healthyverse_conflicts()
Details
There are four conflicts that are deliberately ignored: intersect
,
union
, setequal
, and setdiff
from dplyr. These functions
make the base equivalents generic, so shouldn't negatively affect any
existing code.
Value
A message in regards to library conflicts.
Examples
healthyverse_conflicts()
List all healthyverse dependencies
Description
List all healthyverse dependencies
Usage
healthyverse_deps(recursive = FALSE, repos = getOption("repos"))
Arguments
recursive |
If |
repos |
The repositories to use to check for updates.
Defaults to |
Value
A message indicating the dependencies of the healthyverse
List all packages in the healthyverse
Description
List all packages in the healthyverse
Usage
healthyverse_packages(include_self = TRUE)
Arguments
include_self |
Include healthyverse in the list? |
Value
A list of the healthyverse packages
Examples
healthyverse_packages()
Get a situation report on the healthyverse
Description
This function gives a quick overview of the versions of R and RStudio as well as all healthyverse packages. It's primarily designed to help you get a quick idea of what's going on when you're helping someone else debug a problem.
Usage
healthyverse_sitrep()
Value
Get a situation report of the healthyverse
Update healthyverse packages
Description
This will check to see if all healthyverse packages (and optionally, their dependencies) are up-to-date, and will install after an interactive confirmation.
Usage
healthyverse_update(recursive = FALSE, repos = getOption("repos"))
Arguments
recursive |
If |
repos |
The repositories to use to check for updates.
Defaults to |
Value
This function do not return a value but rather are used for side effects.
Examples
## Not run:
healthyverse_update()
## End(Not run)
Tidy eval helpers
Description
-
sym()
creates a symbol from a string andsyms()
creates a list of symbols from a character vector. -
enquo()
andenquos()
delay the execution of one or several function arguments.enquo()
returns a single quoted expression, which is like a blueprint for the delayed computation.enquos()
returns a list of such quoted expressions. -
expr()
quotes a new expression locally. It is mostly useful to build new expressions around arguments captured withenquo()
orenquos()
:expr(mean(!!enquo(arg), na.rm = TRUE))
. -
as_name()
transforms a quoted variable name into a string. Supplying something else than a quoted variable name is an error.That's unlike
as_label()
which also returns a single string but supports any kind of R object as input, including quoted function calls and vectors. Its purpose is to summarise that object into a single label. That label is often suitable as a default name.If you don't know what a quoted expression contains (for instance expressions captured with
enquo()
could be a variable name, a call to a function, or an unquoted constant), then useas_label()
. If you know you have quoted a simple variable name, or would like to enforce this, useas_name()
.
To learn more about tidy eval and how to use these tools, visit Metaprogramming section of Advanced R.
Value
These functions do not return a value but rather are used for side effects.