Skip to content

Commit

Permalink
CRAN first release (#67)
Browse files Browse the repository at this point in the history
* Add NEWS.md

* version and doc updates

* add return value to Rd file
  • Loading branch information
topepo authored Nov 18, 2021
1 parent ce8d365 commit 831c310
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shinymodels
Title: Interactive Assessments of Models
Version: 0.0.1
Version: 0.1.0
Authors@R: c(
person("Max", "Kuhn", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2402-136X")),
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# shinymodels 0.1.0

* First CRAN release
1 change: 1 addition & 0 deletions R/explore.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ generics::explore
#' tuning parameter combinations that were fully resampled. As a result,
#' parameter combinations that were discarded during the race will now be able
#' to be selected.
#' @return A shiny application.
#' @examples
#' data(ames_mlp_itr)
#'
Expand Down
5 changes: 3 additions & 2 deletions R/organize_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ get_app_type <- function(y) {
#'
#' This is a print method for a shiny_data class
#' @param x an object of class shiny_data
#' @param ... Other parameters not currently used
#' @param ... Other parameters not currently used.
#' @return `x` invisibly.
#' @keywords internal
#' @export
print.shiny_data <- function(x, ...) {
Expand All @@ -146,5 +147,5 @@ print.shiny_data <- function(x, ...) {
paste("tuning parameters:", .get_tune_parameter_names(x$tune_results)),
sep = "\n"
)
cat(string)
invisible(x)
}
1 change: 1 addition & 0 deletions R/shiny_models.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#' data sets.
#' @param original_data Original dataset.
#' @param ... Other parameters not currently used.
#' @return A shiny application.
#' @export
#' @keywords internal

Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ The goal of shinymodels is to launch a Shiny app given tidymodels' tuning or res

## Installation

~~You can install the released version of shinymodels from [CRAN](https://CRAN.R-project.org) with:~~
You can install the released version of shinymodels from [CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("shinymodels") ## not yet
install.packages("shinymodels")
```

And the development version from [GitHub](https://github.com/) with:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ results.

## Installation

~~You can install the released version of shinymodels from
[CRAN](https://CRAN.R-project.org) with:~~
You can install the released version of shinymodels from
[CRAN](https://CRAN.R-project.org) with:

``` r
install.packages("shinymodels") ## not yet
install.packages("shinymodels")
```

And the development version from [GitHub](https://github.com/) with:
Expand Down
3 changes: 3 additions & 0 deletions man/explore.Rd

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

5 changes: 4 additions & 1 deletion man/print.shiny_data.Rd

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

3 changes: 3 additions & 0 deletions man/shiny_models.Rd

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

0 comments on commit 831c310

Please sign in to comment.