Skip to content

Commit

Permalink
Addressed CRAN feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
terrytangyuan committed Mar 23, 2018
1 parent 895db3f commit 7fdd351
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/interface_r/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: h2o4gpu
Type: Package
Title: R Interface to 'H2O4GPU'
Title: Interface to 'H2O4GPU'
Version: 0.2.0
Authors@R: c(
person("Yuan", "Tang", role = c("aut", "cre"),
Expand All @@ -9,12 +9,12 @@ Authors@R: c(
person("Navdeep", "Gill", role = c("aut"), email = "[email protected]"),
person("Erin", "LeDell", role = c("aut"), email = "[email protected]"),
person("H2O.ai", role = c("cph", "fnd")))
Description: R Interface to 'H2O4GPU' - A collection of 'GPU' solvers for machine learning algorithms.
Description: Interface to 'H2O4GPU' <https://github.com/h2oai/h2o4gpu>, a collection of 'GPU' solvers for machine learning algorithms.
License: Apache License 2.0
URL: https://github.com/h2oai/h2o4gpu
BugReports: https://github.com/h2oai/h2o4gpu/issues
SystemRequirements: Python (>= 3.6) with header files and shared library;
h2o4gpu (https://github.com/h2oai/h2o4gpu)
H2O4GPU (https://github.com/h2oai/h2o4gpu)
Encoding: UTF-8
LazyData: true
Depends:
Expand Down
17 changes: 17 additions & 0 deletions src/interface_r/R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
#'
#' @docType package
#' @name h2o4gpu
#'
#' @examples
#' \dontrun{
#'
#' library(h2o4gpu)
#'
#' # Setup dataset
#' x <- iris[1:4]
#' y <- as.integer(iris$Species) - 1
#'
#' # Initialize and train the classifier
#' model <- h2o4gpu.random_forest_classifier() %>% fit(x, y)
#'
#' # Make predictions
#' predictions <- model %>% predict(x)
#'
#' }
NULL

h2o4gpu <- NULL
Expand Down
17 changes: 17 additions & 0 deletions src/interface_r/man/h2o4gpu.Rd

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

0 comments on commit 7fdd351

Please sign in to comment.