Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • dataRetrieval dataRetrieval
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Water
  • dataRetrievaldataRetrieval
  • Merge requests
  • !427

Code Quality reporting

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hariharan, Jayaram Athreya requested to merge jhariharan/dataRetrieval:codeQuality into main Oct 14, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

@ldecicco this adds the built-in code quality checker that ships with GitLab (docs here). I don't know exactly what criteria it is using to do the static code analysis (I don't think it is specific to R) but it should annotate the diff which is better than nothing.

If we wanted to run styler via a pipeline here, let me know and I could poke around at that. After a brief search I think it'd be a manual solution where we write the yaml markdown to call the appropriate R and shell commands to run the styler and then commit and push the changes via the pipeline. I'm not sure how we might run lintr beyond manually writing the R commands into the yaml and then reading the output, maybe we could have the output write to a text file or log that gets associated with the PR or commit.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: codeQuality