Miscellaneous Functions Used at 'Numeract LLC'

Contains functions useful for debugging, set operations on vectors, and 'UTC' date and time functionality. It adds a few vector manipulation verbs to 'purrr' and 'dplyr' packages. It can also generate an R file to install and update packages to simplify deployment into production. The functions were developed at the data science firm 'Numeract LLC' and are used in several packages and projects.


Travis build status AppVeyor build status Coverage status CRAN status lifecycle

Contains functions useful for debugging, set operations on vectors, and 'UTC' date and time functionality. It adds a few vector manipulation verbs to 'purrr' and 'dplyr' packages. It can also generate an R file to install and update packages to simplify deployment into production. The functions were developed at the data science firm 'Numeract LLC' and are used in several packages and projects.

Installation

From CRAN

install.packages("Nmisc")

From GitHub

# install.packages("devtools")
devtools::install_github("numeract/Nmisc")

Functions

The package is still in development, functions will be updated.

  • related to base package
    • catn, str1, str2, clear_warnings
    • keep_if_in / %if_in%, keep_if_not_in / %if_not_in%
    • seq_ncol, seq_nrow
    • setequal_na
  • date & time:
    • is.POSIXct, format_utc, now_utc
  • os:
    • get_os
  • extending purrr:
    • keep_at and discard_at
  • extending dplyr:
    • pull_with_names
  • package related:
    • get_packages and generate_install_file

News

Nmisc 0.3.3

  • fix generate_install_file test (#8)

Nmisc 0.3.2

  • added package related functions
  • increase coverage
  • fixes for submission to CRAN

Nmisc 0.2.1

  • move code style functionality to new package Nstyle

Nmisc 0.2.0

  • added check_style - a custom linter
  • fix code style
  • added unit tests
  • added custom styler (WIP)

Nmisc 0.1.0

  • first release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Nmisc")

0.3.5 by Mike Badescu, 2 months ago


https://github.com/numeract/Nmisc


Report a bug at https://github.com/numeract/Nmisc/issues


Browse source code at https://github.com/cran/Nmisc


Authors: Mike Badescu [aut, cre] , Ana-Maria Niculescu [aut] , Teodor Ciuraru [ctb] , Numeract LLC [cph]


Documentation:   PDF Manual  


MIT + file LICENCE license


Imports dplyr, magrittr, purrr, rappdirs, rlang, tibble, tidyselect, stringr

Suggests lubridate, testthat, covr


See at CRAN