Skip to content

Pre Publishing Code Review #7

@colinpmillar

Description

@colinpmillar

Main comments

Good to go with a few comments (see suggested follow up below)

  • The code follows a heirarchihcal structure following the standard Golum architecture for shiny apps.
  • Each region or sub-region has its logical code and user interface code in individual modules / ui scripts, and are named appropriatley.
  • This means code is findable and modifiable by someone with limited prior knowledge of the codebase, and is therefore maintainable.
  • Variables are named sensibly.
  • Common features accross tabs and pages are abstracted so that modifying, e.g. common text in pages, requires only changes to a small number of files.
  • Creation of data is documented in data-raw

Detailed comments (some pedantry)

  • Ideally dont use T for TRUE as T is not reserved and can accidentally be written over.

Suggested follow up tasks

  • CITATION file with ICES doi and standard ICES app citation should be included
  • Add code authors as aut or ctb to DESCRIPTION file
  • Check that all scripts are included in \data-raw, at time of review \data-raw\wp3\*.R were not on github
  • Potentially publish \data folder to github so that the app package is installable and runable
  • If adding \data folder, check that MIT license is appropriate for all data being published

see: https://journal.r-project.org/articles/RJ-2012-009/ for information on documenting code contributions to R packages

Comments for future apps

  • consider using the TAF \boot\DATA.bib technology and data.R etc. to generate and document the processed data for the app

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions