vijaybarve / taxotools

Tools to Handle Taxonomic Lists
5 stars 1 forks source link

utf-8 error #41

Open vijaybarve opened 4 years ago

vijaybarve commented 4 years ago

Throws error Encountered byte sequence not representing an utf-8 character. while processing a long list

`R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8.1 x64 (build 9600)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 [2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets [6] methods base

other attached packages: [1] stringi_1.4.5 readr_1.3.1 taxotools_0.0.47 [4] devtools_2.2.1 usethis_1.5.1

loaded via a namespace (and not attached): [1] Rcpp_1.0.3 stringdist_0.9.5.5 [3] ape_5.3 lattice_0.20-38
[5] prettyunits_1.1.1 ps_1.3.0
[7] zoo_1.8-7 assertthat_0.2.1
[9] rprojroot_1.3-2 digest_0.6.23
[11] foreach_1.4.7 R6_2.4.1
[13] plyr_1.8.5 chron_2.3-54
[15] backports_1.1.5 RSQLite_2.2.0
[17] pillar_1.4.3 sqldf_0.4-11
[19] rlang_0.4.4 curl_4.3
[21] rstudioapi_0.10 data.table_1.12.8 [23] taxize_0.9.92 callr_3.4.1
[25] blob_1.2.1 gsubfn_0.7
[27] desc_1.2.0 proto_1.0.0
[29] wikitaxa_0.3.0 stringr_1.4.0
[31] bit_1.1-15.1 compiler_3.6.1
[33] pkgconfig_2.0.3 pkgbuild_1.0.6
[35] tibble_2.1.3 httpcode_0.2.0
[37] codetools_0.2-16 reshape_0.8.8
[39] fansi_0.4.1 crayon_1.3.4
[41] withr_2.1.2 crul_0.9.0
[43] grid_3.6.1 nlme_3.1-140
[45] jsonlite_1.6 DBI_1.1.0
[47] magrittr_1.5 cli_2.0.1
[49] fs_1.3.1 remotes_2.1.0
[51] testthat_2.3.1 xml2_1.2.2
[53] ellipsis_0.3.0 vctrs_0.2.2
[55] iterators_1.0.12 tools_3.6.1
[57] bold_0.9.0 bit64_0.9-7
[59] glue_1.3.1 hms_0.5.3
[61] processx_3.4.1 pkgload_1.0.2
[63] parallel_3.6.1 sessioninfo_1.1.1 [65] memoise_1.1.0 `

vijaybarve commented 4 years ago

Cause of this error is the character encoding is not right in master data frame. Need to check the encoding within the function.