Running examples in 'lazytrade-Ex.R' failed
The error most likely occurred in:

> ### Name: util_find_pid
> ### Title: R function to find PID of active applications
> ### Aliases: util_find_pid
> 
> ### ** Examples
> 
> 
> library(magrittr)
> library(tibble)
> library(stringr)
> library(dplyr)

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

> 
> #library(readr)
> 
> 
> dir <- normalizePath(tempdir(),winslash = "/")
> 
> 
> #tasks_running <- system("tasklist", intern = TRUE)
> #writeLines(tasks_running, con = file.path(dir,'tasks_running.txt'))
> #t_running <- readLines(con = file.path(dir,'tasks_running.txt'))
> 
> tasks_list = system.file("extdata", "tasks_running.txt",
+                   package = "lazytrade")
> 
> t_running <- readLines(con = tasks_list)
> 
> #generate task kill command for this application
> util_find_pid(tasks_running = t_running,
+               pid_pattern = 'terminal.exe')
Error in `dplyr::bind_cols()`:
! number of characters is not computable in "bytes" encoding, element 1
Backtrace:
     ▆
  1. ├─lazytrade::util_find_pid(tasks_running = t_running, pid_pattern = "terminal.exe")
  2. │ └─z %>% dplyr::bind_cols(y)
  3. ├─dplyr::bind_cols(., y)
  4. │ ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
  5. │ │ └─base::withCallingHandlers(...)
  6. │ └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
  7. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
  8. │ └─rlang::names_inform_repair(orig_names, names)
  9. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
 10. │     ├─base::withRestarts(...)
 11. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
 12. │     │   └─base (local) doWithOneRestart(return(expr), restart)
 13. │     └─base::signalCondition(cnd)
 14. │       ├─base::conditionMessage(cond)
 15. │       └─rlang:::conditionMessage.rlang_message(cond)
 16. │         └─rlang::cnd_message(c)
 17. │           └─rlang:::cnd_message_format(cnd, ...)
 18. │             └─rlang (local) cli_format(glue_escape(lines))
 19. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
 20. │                 └─cli::cli_format(x, .envir = emptyenv())
 21. │                   └─cli:::fmt(...)
 22. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
 23. │                       ├─base::do.call(app[[msg$type]], msg$args)
 24. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-362", class = NULL)
 25. │                         └─cli:::clii_bullets(app, text, id, class)
 26. │                           └─base::lapply(...)
 27. │                             └─cli (local) FUN(X[[i]], ...)
 28. │                               └─app$text(text[[i]])
 29. │                                 └─cli:::clii_text(app, text)
 30. │                                   └─app$xtext(text)
 31. │                                     └─cli:::clii__xtext(...)
 32. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
 33. │                                         └─base::lapply(pars, ansi_trimws)
 34. │                                           └─cli (local) FUN(X[[i]], ...)
 35. └─base::.handleSimpleError(...)
 36.   └─dplyr (local) h(simpleError(msg, call))
 37.     └─rlang::cnd_signal(cnd)
Execution halted