<commit_before>---
layout: post
title: "Supplementing your R package with a Shiny app"
tags: [professional, rstats, r, r-bloggers, shiny, packages]
fb-img: "http://deanattali.com/img/blog/ggExtra/ggmarginal-basic-example.png"
---

The R community is generally very fond of open-source-ness and the idea of releasing all code to the public. Writing packages has become such an easy experience now that Hadley's `devtools` is so powerful, and as a result there are new packages being released by useRs every single day.

A good package needs to have two things: useful functionality, and clear usage instructions. The former is a no-brainer, while the latter is what developers usually dread the most - the D-word (Documentation. Yikes.). Proper documentation is essential so that others will know what your package can do and how to do it. And with the use of Shiny, we now have another great tool we can use to showcase a package's capabilities.

### Incorporating Shiny<commit_msg>add date to last post (r-bloggers put it way down their page cuz the date didn't have timezone)<commit_after>---
layout: post
title: "Supplementing your R package with a Shiny app"
tags: [professional, rstats, r, r-bloggers, shiny, packages]
fb-img: "http://deanattali.com/img/blog/ggExtra/ggmarginal-basic-example.png"
date: 2015-04-21 22:00:00 -0800
---

The R community is generally very fond of open-source-ness and the idea of releasing all code to the public. Writing packages has become such an easy experience now that Hadley's `devtools` is so powerful, and as a result there are new packages being released by useRs every single day.

A good package needs to have two things: useful functionality, and clear usage instructions. The former is a no-brainer, while the latter is what developers usually dread the most - the D-word (Documentation. Yikes.). Proper documentation is essential so that others will know what your package can do and how to do it. And with the use of Shiny, we now have another great tool we can use to showcase a package's capabilities.

### Incorporating Shiny
{'fraction_non_alphanumeric': 0.06641000962463908, 'fraction_numerical': 0.008662175168431183, 'mean_word_length': 4.3860103626943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '918669', 'n_tokens_mistral': 571, 'n_tokens_neox': 542, 'n_words': 308}