tinytex: can not output pdf

i just uninstall my miktex, then install tinytex.
however, i can not output pdf, especially for chinese.

> xfun::session_info('tinytex')
R version 4.0.1 (2020-06-06)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299), RStudio 1.3.959

Locale:
  LC_COLLATE=Chinese (Simplified)_China.936 
  LC_CTYPE=Chinese (Simplified)_China.936   
  LC_MONETARY=Chinese (Simplified)_China.936
  LC_NUMERIC=C                              
  LC_TIME=Chinese (Simplified)_China.936    

Package version:
  graphics_4.0.1  grDevices_4.0.1 stats_4.0.1     tinytex_0.42   
  tools_4.0.1     utils_4.0.1     xfun_0.33      

LaTeX version used: 
  TeX Live 2022 (TinyTeX) with tlmgr 2022-04-18

tinytex::tinytex_root()
[1] "C:\\Users\\AIERXUAN\\AppData\\Roaming\\TinyTeX"
a <- Sys.getenv('PATH')
library(tidyverse)
str_detect(a,"Tiny")
TRUE

this is a waring

> tinytex::tlmgr_path()
Warning: conflicting [pdf]tex program found on the system path in C:\Users\AIERXUAN\AppData\Roaming\TinyTeX\bin\win32; not fixable in user mode.

however, it can not work


tinytex::pdflatex('test.tex')
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
error: LaTeX failed to compile test.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips.

What is the issue in the log file ?

It seems there is a conflict between the binary, you should check your installation

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.