Skip to content

Commit

Permalink
CRAN 5.2.5 (no h2o dep)
Browse files Browse the repository at this point in the history
  • Loading branch information
laresbernardo committed Jan 22, 2024
1 parent 2f2f435 commit f2a2896
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 179 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: lares
Type: Package
Title: Analytics & Machine Learning Sidekick
Version: 5.2.5.9005
Version: 5.2.5
Authors@R: c(
person("Bernardo", "Lares", , "laresbernardo@gmail.com", c("aut", "cre")))
Maintainer: Bernardo Lares <laresbernardo@gmail.com>
Expand All @@ -14,7 +14,6 @@ Depends:
Imports:
dplyr,
ggplot2,
h2o,
httr,
jsonlite,
lubridate,
Expand All @@ -33,13 +32,14 @@ Suggests:
DALEX,
googleAuthR,
googlesheets4,
h2o,
knitr,
quantmod,
rmarkdown
URL: https://github.com/laresbernardo/lares, https://laresbernardo.github.io/lares/
BugReports: https://github.com/laresbernardo/lares/issues
VignetteBuilder: knitr
RoxygenNote: 7.2.3
License: AGPL-3
Encoding: UTF-8
LazyData: true
Config/testthat/edition: 3
20 changes: 0 additions & 20 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -409,26 +409,6 @@ importFrom(graphics,plot)
importFrom(graphics,points)
importFrom(graphics,rasterImage)
importFrom(graphics,rect)
importFrom(h2o,as.h2o)
importFrom(h2o,h2o.accuracy)
importFrom(h2o,h2o.automl)
importFrom(h2o,h2o.download_mojo)
importFrom(h2o,h2o.download_pojo)
importFrom(h2o,h2o.getModel)
importFrom(h2o,h2o.getVersion)
importFrom(h2o,h2o.glm)
importFrom(h2o,h2o.import_mojo)
importFrom(h2o,h2o.init)
importFrom(h2o,h2o.loadModel)
importFrom(h2o,h2o.no_progress)
importFrom(h2o,h2o.performance)
importFrom(h2o,h2o.predict)
importFrom(h2o,h2o.predict_json)
importFrom(h2o,h2o.removeAll)
importFrom(h2o,h2o.saveModel)
importFrom(h2o,h2o.show_progress)
importFrom(h2o,h2o.varimp)
importFrom(h2o,predict_contributions.H2OModel)
importFrom(httr,GET)
importFrom(httr,POST)
importFrom(httr,add_headers)
Expand Down
15 changes: 11 additions & 4 deletions R/lares.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
#' update_geom_defaults xlab xlim ylab ylim
#' @importFrom graphics box hist plot points rasterImage rect grid legend mtext
#' @importFrom grDevices graphics.off dev.off png dev.size
#' @importFrom h2o as.h2o h2o.automl h2o.accuracy h2o.getModel h2o.performance h2o.init
#' h2o.removeAll h2o.download_mojo h2o.download_pojo h2o.loadModel h2o.no_progress h2o.predict
#' h2o.predict_json h2o.saveModel h2o.varimp h2o.getVersion h2o.glm
#' predict_contributions.H2OModel h2o.import_mojo h2o.no_progress h2o.show_progress
# @importFrom h2o as.h2o h2o.automl h2o.accuracy h2o.getModel h2o.performance h2o.init
# h2o.removeAll h2o.download_mojo h2o.download_pojo h2o.loadModel h2o.no_progress h2o.predict
# h2o.predict_json h2o.saveModel h2o.varimp h2o.getVersion h2o.glm
# predict_contributions.H2OModel h2o.import_mojo h2o.no_progress h2o.show_progress
#' @importFrom httr GET POST oauth_endpoint oauth_app oauth1.0_token authenticate
#' stop_for_status upload_file add_headers content http_error set_config config
#' @importFrom jsonlite fromJSON toJSON flatten
Expand Down Expand Up @@ -105,6 +105,13 @@ recommended <- list(
"sheets_auth", "read_sheet", "gs4_create", "range_write",
"gs4_auth_configure", "gs4_auth", "sheet_append"
),
h2o = c(
"as.h2o", "h2o.automl", "h2o.accuracy", "h2o.getModel", "h2o.performance",
"h2o.init", "h2o.removeAll", "h2o.download_mojo", "h2o.download_pojo",
"h2o.loadModel", "h2o.no_progress", "h2o.predict", "h2o.predict_json",
"h2o.saveModel", "h2o.varimp", "h2o.getVersion", "h2o.glm",
"predict_contributions.H2OModel", "h2o.import_mojo", "h2o.no_progress",
"h2o.show_progress"),
knitr = c("kable", "knit"),
methods = "as",
mice = c("mice", "complete"),
Expand Down
1 change: 1 addition & 0 deletions R/model_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ h2o_automl <- function(df, y = "tag",
project = "AutoML Results",
verbosity = NULL,
...) {
try_require("h2o")
tic(id = "h2o_automl")
on.exit(toc(id = "h2o_automl", msg = "Process duration:", quiet = quiet))

Expand Down
5 changes: 3 additions & 2 deletions man/what_size.Rd

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

4 changes: 0 additions & 4 deletions vignettes/.gitignore

This file was deleted.

Binary file removed vignettes/figures/unnamed-chunk-1-1.png
Binary file not shown.
Binary file removed vignettes/figures/unnamed-chunk-3-1.png
Binary file not shown.
Binary file removed vignettes/figures/unnamed-chunk-3-2.png
Binary file not shown.
Binary file removed vignettes/figures/unnamed-chunk-3-3.png
Binary file not shown.
Binary file removed vignettes/figures/unnamed-chunk-3-4.png
Binary file not shown.
Binary file removed vignettes/figures/unnamed-chunk-4-1.png
Binary file not shown.
146 changes: 0 additions & 146 deletions vignettes/h2o_automl.Rmd

This file was deleted.

0 comments on commit f2a2896

Please sign in to comment.