Learn R Programming

dang: Dang Assorted New Goodies

About

This packages contains a small collection of helper functions I have been keeping around. Some of these have already appeared in a StackOverflow answer in 2009 or a blog post in 2011. Others are more local and less refined. Some may even be redundant---it is simply a collection of utility function I use, or maybe have used at some point.

Status

The package tests cleanly as you would expect.

Author

Dirk Eddelbuettel, plus contributions from others as noted in the respective files

Acknowledgements

Thanks to Josh Ulrich for discussions about plot.xts, Brodie Gaslam for discussions about his CRAN status checker (and Jordan Mark Barbone for a PR with fix to a corner case in it), Kevin Denny and Kabira Namit for Stata commands demotivate and motivate, Bill Dunlap for str.language, and possibly others I am omitting -- if your name belongs here email me!

License

GPL (>= 2)

Copy Link

Version

Install

install.packages('dang')

Monthly Downloads

264

Version

0.0.17

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

December 18th, 2025

Functions in dang (0.0.17)

ls.objects

List largest objects and show memory use
motivate

Display a motivating quote
plotOBOS

Plot Overbought/Oversold Regions for A Stock or ETF
str.language

Print a parse tree
wday

wday
assignFormals

Assign formal arguments from function
checkPackageAsciiCode

checkPackageAsciiCode
demotivate

Display a demotivating quote
checkCRANStatus

Maintainer Status at CRAN
intradayMarketMonitor

Intra-day market monitor
alphavantage

Retrieve real-time data from AlphaVantage
as.data.table.xts

Convert an xts object into a data.table
getGitRoot

Are we in a git repository?
reorderMicrobenchmarkResults

Reorder microbenchmark Results
limitDataTableCores

Set data.table threads respecting default settingss
shadowedPackages

Find Shadowed Packages
isConnected

Is the current session (networked) and connected?
rollMinMax

Rolling Minimum or Maximum over a Fixed Window
print.xts

Printing helper function for xts object
cranORCIDs

Get ORCID IDs known at CRAN
readAndConvert

readAndConvert
silent

Silently load a library
ymd

Format a Date(time) object as ymd