Skip to content

[studyReportApp.R] Refactor #3

@mvankessel-EMC

Description

@mvankessel-EMC

Line 13-14 could be refactored as one line, with an explicit return.

From:

dataset <- get(input$dataset, "package:datasets")
summary(dataset)

To:

return(summary(get(input$dataset, "package:datasets")))

The same goes for line 18-19.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions