Skip to content

Commit

Permalink
Fix CRAN comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ohjakobsen committed Oct 22, 2024
1 parent 868558a commit d9bbd89
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: Measure productivity and efficiency using Data Envelopment Analysis
(DEA). Available methods include DEA under different technology assumptions,
bootstrapping of efficiency scores and calculation of the Malmquist
productivity index. Analyses can be performed either in the console or with
the provided Shiny app. See Banker, R.; Charnes, A.; Cooper, W.W. (1984)
the provided 'shiny' app. See Banker, R.; Charnes, A.; Cooper, W.W. (1984)
<doi:10.1287/mnsc.30.9.1078>, Färe, R.; Grosskopf, S. (1996) <doi:10.1007/978-94-009-1816-0>.
License: GPL-3
URL: https://riksrevisjonen.github.io/pioneeR/, https://github.com/Riksrevisjonen/pioneeR
Expand Down
14 changes: 5 additions & 9 deletions R/shiny-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,11 @@ pioneer_scripts <- function() {
#'
#' @return None
#' @examples
#' \dontrun{
#' # Load example data
#' df = deaR::Electric_plants
#' # Load the app (with a random port)
#' run_pioneer()
#' # Set a specific port number
#' run_pioneer(port = 8080)
#' # Load app with a specified dataset
#' run_pioneer(x = df, port = 8080)
#' # Only run this example in interactive R sessions
#' if (interactive()) {
#' df = deaR::Electric_plants
#' # Load app with data.frame and set port to 8080
#' run_pioneer(x = df, port = 8080)
#' }
#' @export
run_pioneer <- function(x = NULL, port = NULL, ...) {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pioneeR can be installed from CRAN:
install.packages("pioneeR")
```

Installing pioneeR from CRAN is the recommended way. However, if you want the bleeding edge version of pioneeR, you can install direectly from GitHub using the remotes package:
Installing pioneeR from CRAN is the recommended way. However, if you want the bleeding edge version of pioneeR, you can install directly from GitHub using the remotes package:

```r
remotes::install_github("riksrevisjonen/pioneeR")
Expand Down Expand Up @@ -88,4 +88,4 @@ The implementation of the Malmquist index is based on the definitions given in *

## License

The pioneeR package as a whole is licensed under the GPLv3. See the [LICENSE](LICENSE) file for more details.
The pioneeR package as a whole is licensed under the GPLv3.
14 changes: 5 additions & 9 deletions man/run_pioneer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d9bbd89

Please sign in to comment.