[Line 13-14](https://github.com/cbarbozaerasmus/reportGenerator/blob/csv_graphs/R/studyReportApp.R#L13:L14) 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.
Line 13-14 could be refactored as one line, with an explicit return.
From:
To:
The same goes for line 18-19.