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

Project diagnostic ? #14

Open
moodymudskipper opened this issue Mar 8, 2022 · 0 comments
Open

Project diagnostic ? #14

moodymudskipper opened this issue Mar 8, 2022 · 0 comments

Comments

@moodymudskipper
Copy link
Owner

This is useful for refactoring so it's in scope I think.

If I get access to a new repo I want to know as many things as possible right away, possibly in some report, maybe that fits in the viewer using tabs :

  • Is it a package
  • If it's a package does it use .onLoad, .onAttach
  • Show folder structure, maybe a collapsable tree, or a static view similar to lobster::ast but showing folders and number of files per extension
  • does it use renv, version control ?
  • does it use options
  • What are all the folders containing R files
  • Does it contain data : find csv, xlsx, rds etc and summarise locations
  • Does it contain doc: find html, pdf, docx
  • Does it contain a shiny app (could have its own diagnostics)
  • Does it use some non recommended idioms such as <<-, setwd(), assign() etc
  • Does it refer to absolute paths
  • Do we have spaces in file names
  • What packages does it use (fetching calls to library(), require(), :: etc + NAMESPACE/DESCRIPTION if applicable)
  • can we draw a tree of the dependencies through fun calls and source calls ? We could improve flow::flow_view_deps first and use it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant