Skip to content

Commit

Permalink
Update the R-CMD-check.yaml to run on releases also - also need to ch…
Browse files Browse the repository at this point in the history
…eck that this actually triggers in the CI/CD.

Add the .Rds to the repo too
  • Loading branch information
jpcompartir committed Dec 9, 2024
1 parent f891256 commit 46c4317
Show file tree
Hide file tree
Showing 18 changed files with 224 additions and 79 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
schedule:
# Runs at 15:20 PM UTC every Thursday
- cron: '00 09 * * 0'
Expand Down
17 changes: 0 additions & 17 deletions R/limpiar_pp.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@
#'
#' @return Data Frame or Tibble object with text variable edited inline
#' @export
#'
#' @examples
#' \dontrun{
#' Example 1
#'df %>% limpiar_pp_products(message)
#' Example 2
#'limpiar_pp_products(df, message)
#' }
#'
limpiar_pp_products <- function(df, text_var){
entities <- LimpiaR::entities

Expand All @@ -40,14 +31,6 @@ limpiar_pp_products <- function(df, text_var){
#'
#' @return Data Frame or Tibble object with text variable edited inline
#' @export
#'
#' @examples
#' \dontrun{
#' Example 1
#'df %>% limpiar_pp_companies(message)
#' Example 2
#'limpiar_pp_companies(df, message)
#' }
limpiar_pp_companies <- function(df, text_var){
companies <- c("\\bapple\\b", "\\bmicrosoft\\b", "\\bmsft\\b", "\\bnvidia\\b", "\\bsony\\b", "\\binstagram\\b",
"\\bwhatsapp\\b", "duckduckgo", "\\bddg\\b", "\\bduck duck go\\b", "\\bsamsung\\b", "\\blenovo\\b",
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ reference:
- limpiar_na_cols
- contains("limpiar_link_click")
- limpiar_ex_subreddits
- limpiar_wrap

- title: Processing Parts of Speech
desc: >
Expand Down
12 changes: 12 additions & 0 deletions man/data_param.Rd

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

33 changes: 33 additions & 0 deletions man/limpiar_alphanumeric.Rd

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

27 changes: 0 additions & 27 deletions man/limpiar_emojis.Rd

This file was deleted.

19 changes: 13 additions & 6 deletions man/limpiar_inspect.Rd

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

11 changes: 5 additions & 6 deletions man/limpiar_link_click.Rd

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

1 change: 0 additions & 1 deletion man/limpiar_link_click_reverse.Rd

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

33 changes: 33 additions & 0 deletions man/limpiar_non_ascii.Rd

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

8 changes: 0 additions & 8 deletions man/limpiar_pp_companies.Rd

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

9 changes: 0 additions & 9 deletions man/limpiar_pp_products.Rd

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

42 changes: 42 additions & 0 deletions man/limpiar_recode_emojis.Rd

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

34 changes: 34 additions & 0 deletions man/limpiar_remove_emojis.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/limpiar_spam_grams.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/limpiar_stopwords.Rd

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

32 changes: 32 additions & 0 deletions man/limpiar_wrap.Rd

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

12 changes: 12 additions & 0 deletions man/text_var.Rd

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

0 comments on commit 46c4317

Please sign in to comment.