Moar Addins for RStudio
Experiments, mostly. Please take the code and use it! This package will NEVER see CRAN. I don’t even need credit. If you find something useful and are willing to round out the corners, it’s all yours.
The following functions are implemented:
bare_combine
: Turn a selection of comma-separated bare strings into a base::combine statementcheck_package_urls
: Check package URLscleanAndGo
: Clean the environment and run the active scriptenslave
: Run a selection as an RStudio background jobjoin_rows
: Join cr/lf-separated selected rows of text into a single space-separated rowrantAddin
: Make it easier to annoy followers and reinforce one’s entitlement.refresh_renviron
: Refreshes in-memory environment variables (if it exists)run_tiny_test
: Run tinytest on a packagetweet_share
: Share the active RStudio source tab on TwitterzapGremlins
: Find R source files with non-ASCII charactersinstall.packages("hrbraddins", repos = "https://cinc.rud.is")
# or
remotes::install_git("https://git.rud.is/hrbrmstr/hrbraddins.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/hrbraddins")
# or
remotes::install_gitlab("hrbrmstr/hrbraddins")
# or
remotes::install_bitbucket("hrbrmstr/hrbraddins")
# or
remotes::install_github("hrbrmstr/hrbraddins")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.