You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
find_pandoc() on my system returns the correct pandoc version and directory. However, it also gives the following warning messages.
Warning messages:
1: In strsplit(info, "\n") :
unable to translate 'User data directory: C:\Users\<c1><fa>\AppData\Roaming\pandoc' to a wide string
2: In strsplit(info, "\n") : input string 4 is invalid
The root of this warning message is raised from strsplit(info, "\n")[[1]][1] in function get_pandoc_version
If using strsplit(info, "\n", useBytes = TRUE)[[1]][1], the warning message disappears. However, I don't know if it is the right solution.
> sessionInfo()
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.utf8
[2] LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8
time zone: Asia/Shanghai
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.3.2 fastmap_1.1.1 cli_3.6.1 htmltools_0.5.6.1
[5] tools_4.3.2 rstudioapi_0.15.0 yaml_2.3.7 rmarkdown_2.25
[9] knitr_1.45 xfun_0.40 digest_0.6.33 rlang_1.1.1
[13] evaluate_0.23
The text was updated successfully, but these errors were encountered:
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Hi there,
find_pandoc() on my system returns the correct pandoc version and directory. However, it also gives the following warning messages.
The root of this warning message is raised from
strsplit(info, "\n")[[1]][1]
in functionget_pandoc_version
If using
strsplit(info, "\n", useBytes = TRUE)[[1]][1]
, the warning message disappears. However, I don't know if it is the right solution.The text was updated successfully, but these errors were encountered: