Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research rhino for teal skeleton #58

Closed
gogonzo opened this issue Jul 4, 2022 · 2 comments
Closed

Research rhino for teal skeleton #58

gogonzo opened this issue Jul 4, 2022 · 2 comments
Assignees

Comments

@gogonzo
Copy link

gogonzo commented Jul 4, 2022

As a continuation of #9

Our objective is to ease the starting point for the app developer to have a tool which initializes app directory.
Preferably, directory should contain:

  1. app.R file with dummy data (scda), teal::init with single module. Each part of the code in app.R should have a comment explaining the section
  2. Please research if making a new rhino project can be customized to include more modules into app.R. Customized means that during project initialization we would like to pick up modules from teal.marketplace and include them in the project being initialized (see the design of teal Addin - allow users to pick modules, based on which default app templates and project structure will be created #9)
  3. Please research how we can customize app.R after initializing the project.
@nikolas-burkoff
Copy link

@nikolas-burkoff
Copy link

nikolas-burkoff commented Jul 21, 2022

So I believe we are not able to use Rhino.

The reason for this is apps developed with Rhino cannot use R's standard way of referring to functions (i.e. with library() or with :: or source()) but must use box this is a completely different way of managing dependencies - it's much more like python modules.

I do not believe we should be forcing (possibly quite new) teal application developers to learn a whole new (and very niche) way of importing functions and packages.

Outside of teal, rhino (together with box) do look like a good way to structure shiny apps with good support for js, CI/CD etc. in built.

There are things we can learn from rhino e.g. they have created a new project type:
image
which is something we may well want to do see #59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants