Skip to content

Commit

Permalink
fix: merging issue with version
Browse files Browse the repository at this point in the history
Merge branch 'main' of https://github.com/laresbernardo/lares

# Conflicts:
#	DESCRIPTION
  • Loading branch information
laresbernardo committed Jul 16, 2024
2 parents 0be64e2 + 035b3d1 commit f955b1e
Show file tree
Hide file tree
Showing 36 changed files with 66 additions and 55 deletions.
4 changes: 2 additions & 2 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.8.9000
Version: 5.2.7.9009
Authors@R: c(
person("Bernardo", "Lares", , "[email protected]", c("aut", "cre")))
Maintainer: Bernardo Lares <[email protected]>
Expand Down Expand Up @@ -38,7 +38,7 @@ Suggests:
rmarkdown
URL: https://github.com/laresbernardo/lares, https://laresbernardo.github.io/lares/
BugReports: https://github.com/laresbernardo/lares/issues
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
License: AGPL-3
Encoding: UTF-8
LazyData: true
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ S3method(plot,h2o_automl)
S3method(plot,h2o_shap)
S3method(plot,robyn_modelselector)
S3method(plot,stocks_hist)
S3method(plot,tree_var)
S3method(plot,x2y)
S3method(plot,x2y_preds)
S3method(print,h2o_automl)
Expand Down
19 changes: 14 additions & 5 deletions R/audio.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,24 @@ get_mp3 <- function(id,
}

# Open file once everything is done
mp3_file <- gsub(".info.json", ".mp3", f)
if (open) {
message("Opening file: ", file)
browseURL(file)
if (file.exists(mp3_file)) {
message("Opening file: ", mp3_file)
browseURL(mp3_file)
} else {
warning("Can't open file; possibly due to strange characters in title: ", mp3_file)
}
}
# Delete file if delete
if (delete) {
message("Deleting file: ", file)
if (open) Sys.sleep(5)
file.remove(file)
if (file.exists(mp3_file)) {
message("Deleting file: ", mp3_file)
if (open) Sys.sleep(5)
file.remove(mp3_file)
} else {
warning("Can't delete file; possibly due to strange characters in title: ", mp3_file)
}
}

return(invisible(infox))
Expand Down
1 change: 1 addition & 0 deletions R/trees.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ tree_var <- function(df, y, type = 2, max = 3, min = 20, cp = 0,
return(invisible(ret))
}

#' @export
plot.tree_var <- function(x, ...) {
if (!inherits(x, "tree_var")) {
stop("Object must be class tree_var")
Expand Down
6 changes: 3 additions & 3 deletions man/corr_cross.Rd

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

6 changes: 3 additions & 3 deletions man/corr_var.Rd

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

2 changes: 1 addition & 1 deletion man/crosstab.Rd

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

2 changes: 1 addition & 1 deletion man/df_str.Rd

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

4 changes: 2 additions & 2 deletions man/distr.Rd

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

8 changes: 4 additions & 4 deletions man/freqs_df.Rd

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

8 changes: 4 additions & 4 deletions man/freqs_list.Rd

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

8 changes: 4 additions & 4 deletions man/freqs_plot.Rd

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

2 changes: 1 addition & 1 deletion man/lares.Rd

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

2 changes: 1 addition & 1 deletion man/lasso_vars.Rd

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

2 changes: 1 addition & 1 deletion man/missingness.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_conf.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_density.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_full.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_gain.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_importance.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_lineal.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_metrics.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_response.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_roc.Rd

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

2 changes: 1 addition & 1 deletion man/mplot_splits.Rd

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

Loading

0 comments on commit f955b1e

Please sign in to comment.