attach_common_packages: Attach packages commonly used in data cleaning and analysis

View source: R/attach.R

attach_common_packagesR Documentation

Attach packages commonly used in data cleaning and analysis

Description

By default this function will attach the packages dplyr, tidyr, readr, and ggplot2. You can avoid attaching any of these packages via the packages_to_omit parameter. If any additional packages are requested via the additional_packages parameter, those packages will be attached as well. Information will be printed to the console listing which packages were attached, which could not be attached, and what functions from the attached packages mask other functions that were on the search path before calling attach_common_packages().

Usage

attach_common_packages(additional_packages = NULL, packages_to_omit = NULL)

Arguments

additional_packages

A character vector giving the names of additional packages to attach, or NULL (the default) if no additional packages are needed.

packages_to_omit

A character vector giving the names of packages not to attach, or NULL (the default) if no packages need be omitted.

Value

Invisibly returns a character vector giving the names of the packages successfully attached

Examples

## Not run: 
attach_common_packages()

## End(Not run)


duckmayr/quack documentation built on March 19, 2023, 9:13 p.m.