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

> ### Name: writeAsymmetricMeltedChromosomalMatrixToDisk
> ### Title: Write a matrix, with genes, of a submatrix of a whole genome
> ###   interaction matrix to disk.
> ### Aliases: writeAsymmetricMeltedChromosomalMatrixToDisk
> ### Keywords: genomic ggiraph ggplot2 heatmap matrix plotly
> 
> ### ** Examples
> 
> load(system.file("extdata","grch37.rda",package = "CNVScope"))
> load(system.file("extdata","nbl_result_matrix_sign_small.rda",package = "CNVScope"))
> load(system.file("extdata","ensembl_gene_tx_table_prot.rda",package = "CNVScope"))
> writeAsymmetricMeltedChromosomalMatrixToDisk(whole_genome_matrix = 
+ nbl_result_matrix_sign_small,
+ chrom1 = 1,chrom2 = 1,desired_range_start = 25, desired_range_end = 25)
[1] "final col:"
[1] "final row:"
[1] "prot_only"
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
[1] 6
[1] 7
[1] 8
[1] 9
[1] 10
[1] 11
[1] 12
[1] 13
[1] 14
[1] 15
[1] 16
[1] 17
[1] 18
[1] 19
[1] 20
[1] 21
[1] 22
[1] 23
[1] 24
[1] 25
[1] 1
[1] 2
[1] 3
[1] 4
[1] 5
[1] 6
[1] 7
[1] 8
[1] 9
[1] 10
[1] 11
[1] 12
[1] 13
[1] 14
[1] 15
[1] 16
[1] 17
[1] 18
[1] 19
[1] 20
[1] 21
[1] 22
[1] 23
[1] 24
[1] 25
Error in `dplyr::bind_cols()`:
! number of characters is not computable in "bytes" encoding, element 1
Backtrace:
     ▆
  1. ├─CNVScope::writeAsymmetricMeltedChromosomalMatrixToDisk(...)
  2. │ └─... %>% dplyr::bind_cols(concatenated_gene_matrix.m)
  3. ├─dplyr::bind_cols(., concatenated_gene_matrix.m)
  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-78", 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