posit-dev / posit-dev/connect-extensions

Runtime Version Scanner: Turn the app into a function within the package that can be exported, minimizing the top level entrypoint app.R

Open
#282 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

content: Runtime Version Scanner
Dominant language
R
Stars
10
Forks
8
Avg merge
5d 18h
Merged PRs (30d)
1

Description

A suggestion from @karawoo in #279 to make the top-level app.R a simple function call.

I feel that we should proceed with this or not depending on whether we think it's easier for people new to the codebase to comprehend the organization of the app. It might be better to stick more closely to "shiny app" conventions than "R package" conventions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the top-level app.R and the suggestion in issue #279, then inspect how the Runtime Version Scanner is currently organized. The issue does not identify package files or tests; done would require an agreed decision about whether to move the app into an exported package function and leave app.R as a simple call.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.