In the last 6 months, reaching the website https://yihui.name/tinytex/ has become very difficult here in Moscow (Russia) and in the last days impossible. I have no idea why it was blocked, but it can be reached only using a VPN. This problem does not allow me to install Tinytex and therefore I cannot use the bookdown package.
For example, if I try to install tinytex, I get the following error:
tinytex::install_tinytex()
trying URL 'http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip'
Content length 352 bytes downloaded 21.5 MB
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
trying URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt'
Error in xfun::download_file(..., quiet = Sys.getenv("APPVEYOR") != "") :
No download method works (auto/wininet/wget/curl/lynx)
In addition: Warning messages:
1: In download.file(url, output, ..., method = method) :
URL 'https://yihui.name/gh/tinytex/tools/pkgs-custom.txt': status was 'Couldn't connect to server'
2: In download.file(url, output, ..., method = method) :
InternetOpenUrl failed: 'A connection with the server could not be established'
3: In download.file(url, output, ..., method = method) :
InternetOpenUrl failed: 'A connection with the server could not be established'
Please quit and reopen your R session and IDE (if you are using one, such as RStudio or Emacs) and check if tinytex:::is_tinytex() is TRUE.
The session info is reported below:
xfun::session_info('tinytex')
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299), RStudio 1.2.1335
Locale:
LC_COLLATE=Russian_Russia.1251 LC_CTYPE=Russian_Russia.1251 LC_MONETARY=Russian_Russia.1251 LC_NUMERIC=C
LC_TIME=Russian_Russia.1251
Package version:
tinytex_0.12.4 tools_3.4.3 xfun_0.6
As a consequence, I have these two questions:
1) can I install tinytex without resorting to the website yihui.name/tinytex?
2) Alternatively, is it possible to tell Rstudio Desktop, during the installation of tinytex, to connect to yihui.name/tinytex using a VPN ?
Thanks.