Coder Social home page Coder Social logo

mjfrigaard / shiny-app-pkgs Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 0.0 154.55 MB

Shiny app-packages

Home Page: https://mjfrigaard.github.io/shiny-app-pkgs/

License: MIT License

R 0.94% HTML 96.70% JavaScript 2.34% SCSS 0.01% TeX 0.01%
shiny shiny-apps shiny-r

shiny-app-pkgs's Introduction

Shiny App-Packages
Explore the screenshots ยป

Report a Bug ยท Request a Feature . Ask a Question


Project license

Pull Requests welcome code with love by mjfrigaard


About

Shiny App-Packages covers how to create a Shiny application as an R package.

Screenshots
Testing Shiny apps Shiny frameworks

Built With

Quarto, Shiny and Posit workbench.

Getting Started

Make sure you have R, Posit Workbench, and Git installed.

Prerequisites

The contents of the text assumes you're comfortable with R, Posit Workbench, Shiny, and the tidyverse. Maybe you haven't built a ton of applications, but you understand reactivity, and you're comfortable with the core Shiny concepts (i.e., the UI, server, *_Input(), *_Output(), and render_* functions, etc.).

Usage

The code examples can be found in the moviesApp repo. The sections from each chapter can be found in the branches.

git checkout <branch>

Issues

See the open issues for a list of proposed features (and known issues).

Reach out to the maintainer at one of the following places:

Project assistance

If you want to say thank you or/and support active development of Shiny App-Packages:

  • Add a GitHub Star to the project.
  • Tweet about the Shiny App-Packages.

Together, we can make Shiny App-Packages better!

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Authors & contributors

The original setup of this repository is by Martin Frigaard.

Acknowledgments

This book is the result of multiple discussions with 1) Shiny developers who were new to writing R packages, 2) R package authors who were learning Shiny development and testing, and 3) new R users who wanted to build a robust and scalable application. Shiny App-Packages wouldn't have been possible without the contributors below (and I am deeply grateful for all of their help!).

For a full list of all authors and contributors, see the contributors page.

License

This project is licensed under the MIT license.

See LICENSE for more information.

Footnotes

  1. Eric's LinkedIn โ†ฉ

shiny-app-pkgs's People

Contributors

esimms999 avatar mjfrigaard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shiny-app-pkgs's Issues

Add introduction to BDD in the chapter "Test suite"

A small introduction to BDD in the chapter "Test suite", or a link to the BDD explanation in the appendix/ in the chapter "Specifications" (I think now it is only mentioned in the TLDR section of the "Test suite" chapter)

Thoughts on creating Shiny app validation reports?

This is not an issue but rather a question.

I am developing a Shiny application that needs to be validated and I am using BDD unit-testing following the recommendations in your online book. For me personally, a section about how to create validation reports for shiny applications would be great addition for the book and if you would ever find the time to include that, I think it would be more than helpful.

For example, is it possible to extract the descriptive text in the unit tests and the outcome of the tests into a validation report (HTML or PDF)? I am aware of the valtools package, but I am not sure if that is compatible with this workflow. I would love to hear your opinion about that. Do you have any thoughts on how this can be done, or any recommendations?

Introduction - Shiny apps - Updated movies app project contents: Confusion with comments and first showcase results

What needs to be commented out in the app.R header after installing? The pkgs and install.packages lines? What about the library statements? Commenting the load("movies.RData") line makes the app crash. Not commentiing the source("utils.R") makes it crash.

image

With Showcase, you display this:

image

But what I am seeing with my best guess commenting is this:

image

You have movies_app <- function .... I don't have that. You don't have anything of the load("movies.RData") and source("utils.R") ... looks like those lines were removed at some point. I think you are showing code a couple of steps ahead of where it is when I am following your guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.