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

346

Version

0.0.16

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Dirk Eddelbuettel

Last Published

December 2nd, 2023

Functions in dang (0.0.16)

rollMinMax

Rolling Minimum or Maximum over a Fixed Window
str.language

Print a parse tree
muteTweeters

Mute Twitter Users with Excessive Hashtag Use
wday

wday
demotivate

Display a demotivating quote
intradayMarketMonitor

Intra-day market monitor
checkPackageAsciiCode

checkPackageAsciiCode
isConnected

Is the current session (networked) and connected?
assignFormals

Assign formal arguments from function
checkCRANStatus

Maintainer Status at CRAN
alphavantage

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

Convert an xts object into a data.table
googleFinanceData

Historical Price Data Download from Google Finance
getGitRoot

Are we in a git repository?
silent

Silently load a library
shadowedPackages

Find Shadowed Packages
readAndConvert

readAndConvert
print.xts

Printing helper function for xts object
limitDataTableCores

Set data.table threads respecting default settingss
plotOBOS

Plot Overbought/Oversold Regions for A Stock or ETF
ls.objects

List largest objects and show memory use
motivate

Display a motivating quote
ymd

Format a Date(time) object as ymd