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.
install.packages("Nmisc")
# install.packages("devtools")
devtools::install_github("numeract/Nmisc")
Please note that the GitHub version requires GitHub versions
of glue
and tidyselect
The package is still in development, functions will be updated.
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
is.POSIXct
, format_utc
,
now_utc
get_os
purrr
:
keep_at
and discard_at
dplyr
:
pull_with_names
get_packages
and
generate_install_file