Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate isFALSE() #67

Merged
merged 14 commits into from
Jan 31, 2023
Merged

Deprecate isFALSE() #67

merged 14 commits into from
Jan 31, 2023

Conversation

yihui
Copy link
Owner

@yihui yihui commented May 20, 2022

This PR is from #66, and only for future consideration (when we do not need to support R < 3.5.0). Please do not merge yet.

EDIT: This will close yihui/knitr#2199

yihui added a commit to yihui/xaringan that referenced this pull request Dec 13, 2022
yihui added a commit to rstudio/pagedown that referenced this pull request Dec 13, 2022
yihui added a commit to rstudio/bookdown that referenced this pull request Dec 13, 2022
yihui added a commit to rstudio/blogdown that referenced this pull request Dec 13, 2022
yihui added a commit to rstudio/rmarkdown that referenced this pull request Dec 13, 2022
yihui added a commit to rstudio/tinytex that referenced this pull request Dec 13, 2022
jdblischak pushed a commit to workflowr/workflowr that referenced this pull request Dec 14, 2022
* stop using xfun::isFALSE()

it will be deprecated in the future: yihui/xfun#67

* reticulate 1.15 was released more than two years ago, so perhaps we can just remove this check now

* remove xfun from Imports
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Dec 31, 2022
tinytex 0.43
  * Added the LaTeX package pdfcol to the TinyTeX bundle (#387).
  * Removed the internal use of xfun::isFALSE() (yihui/xfun#67).

tinytex 0.42
  * Querying CTAN might time out, which can cause failure in installing TinyTeX
    (thanks, Lillian Welsh, https://stackoverflow.com/q/73404800/559676).

  * When installing TinyTeX on macOS and the directory /usr/local/bin does not
    exist, users will be prompted to create it. Then if it is not writable,
    users will be prompted to make it writable via chown (a13ae48).

tinytex 0.41
  * TinyTeX no longer defines the TEXMFHOME variable (thanks, @vsheg, #377).

  * The internal function fc_cache() also runs on the TinyTeX root directory
    now (3d146ac).

tinytex 0.40
  * Added a bundle argument to tinytex::install_tinytex(), so that users can
    choose to install any TinyTeX bundle, e.g., TinyTeX-0 or TinyTeX-2.

tinytex 0.39

  * The tinytex and tinytex-releases repositories have been moved from @yihui's
    account to @rstudio, i.e., their addresses are https://github.com/rstudio/
    tinytex/ and https://github.com/rstudio/tinytex-releases/ now.

  * The full TeX Live has been pre-built as the TinyTeX-2 bundle in the daily
    release of TinyTeX: https://github.com/rstudio/tinytex-releases/releases/
    tag/daily To know how to install it, please see https://github.com/rstudio/
    tinytex-releases#installation.

  * If tinytex::install_tinytex() detects an existing LaTeX distribution in the
    system, it will ask if you want to continue the installation in an
    interactive R session. If this function is called in a non-interactive R
    session (e.g., via the Rscript command), it will throw an error in this
    case, unless the argument force = TRUE is used. This is to prevent an
    accidental installation of TinyTeX (which occurred on CRAN recently).
    Another way to prevent the installation is to set the environment variable
    TINYTEX_PREVENT_INSTALL=true.

  * On *nix, if the dir ~/.local/bin exists, it will be used as the bin path
    for TinyTeX, i.e., symlinks of TeX Live binaries will be created to this
    dir. If it does not exist, ~/bin/ will be used as usual (thanks, @salim-b,
    #365).

tinytex 0.38
  * Fixed #354: set the env var TEXLIVE_PREFER_OWN=1 before calling tlmgr() to
    use TeX Live's own curl instead of curl on PATH (thanks, @netique).

  * Fixed latex3/luaotfload#213: detect the lua-uni-algos package in case of
    error module 'lua-uni-normalize' not found (thanks, @dragonstyle).

  * Added the help page ?tinytex (thanks, @AmeliaMN, #361).

  * Use set -e and curl -f to fail immediately in the *nix installation script
    (thanks, @gaborcsardi, #356).

tinytex 0.37
  * Fixed rstudio/bookdown#1274: latexmk() should run the LaTeX engine one more
    time before calling makeindex (thanks, @trevorcampbell @ttimbers).

tinytex 0.36
  * Fixed the failure to detect the hyphen-french package from the LaTeX log:
    https://stackoverflow.com/q/69887190/559676

  * xfun::session_info('tinytex') can report the TeX Live (TinyTeX) version
    now.

  * Improved the way tinytex::tlmgr_repo() normalizes the repo URL (#346).

tinytex 0.35
  * install_tinytex() will automatically switch to using https://github.com/
    yihui/tinytex-releases/releases/tag/daily to install the daily version of
    TinyTeX if accessing https://yihui.org fails (#332).

  * install-bin-unix.sh and install-bin-windows.bat now install TinyTeX from
    https://github.com/yihui/tinytex-releases/releases/tag/daily instead of
    https://yihui.org/tinytex/TinyTeX.* (#270).

  * Fixed #322: automatically install hyphen-* packages in case of polyglossia
    warnings.

  * Run tlmgr conf texmf max_print_line 10000 to prevent LaTeX from wrapping
    log lines (#322 (comment)). If you do not like this configuration, you may
    run tlmgr conf texmf --delete max_print_line to delete it.

tinytex 0.34
  * The --data argument in tl_sizes() is properly quoted now to make it work on
    Windows (thanks, @IndrajeetPatil #329, @cderv #330).
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Jan 18, 2023
tinytex 0.43
  * Added the LaTeX package pdfcol to the TinyTeX bundle (#387).
  * Removed the internal use of xfun::isFALSE() (yihui/xfun#67).

tinytex 0.42
  * Querying CTAN might time out, which can cause failure in installing TinyTeX
    (thanks, Lillian Welsh, https://stackoverflow.com/q/73404800/559676).

  * When installing TinyTeX on macOS and the directory /usr/local/bin does not
    exist, users will be prompted to create it. Then if it is not writable,
    users will be prompted to make it writable via chown (a13ae48).

tinytex 0.41
  * TinyTeX no longer defines the TEXMFHOME variable (thanks, @vsheg, #377).

  * The internal function fc_cache() also runs on the TinyTeX root directory
    now (3d146ac).

tinytex 0.40
  * Added a bundle argument to tinytex::install_tinytex(), so that users can
    choose to install any TinyTeX bundle, e.g., TinyTeX-0 or TinyTeX-2.

tinytex 0.39

  * The tinytex and tinytex-releases repositories have been moved from @yihui's
    account to @rstudio, i.e., their addresses are https://github.com/rstudio/
    tinytex/ and https://github.com/rstudio/tinytex-releases/ now.

  * The full TeX Live has been pre-built as the TinyTeX-2 bundle in the daily
    release of TinyTeX: https://github.com/rstudio/tinytex-releases/releases/
    tag/daily To know how to install it, please see https://github.com/rstudio/
    tinytex-releases#installation.

  * If tinytex::install_tinytex() detects an existing LaTeX distribution in the
    system, it will ask if you want to continue the installation in an
    interactive R session. If this function is called in a non-interactive R
    session (e.g., via the Rscript command), it will throw an error in this
    case, unless the argument force = TRUE is used. This is to prevent an
    accidental installation of TinyTeX (which occurred on CRAN recently).
    Another way to prevent the installation is to set the environment variable
    TINYTEX_PREVENT_INSTALL=true.

  * On *nix, if the dir ~/.local/bin exists, it will be used as the bin path
    for TinyTeX, i.e., symlinks of TeX Live binaries will be created to this
    dir. If it does not exist, ~/bin/ will be used as usual (thanks, @salim-b,
    #365).

tinytex 0.38
  * Fixed #354: set the env var TEXLIVE_PREFER_OWN=1 before calling tlmgr() to
    use TeX Live's own curl instead of curl on PATH (thanks, @netique).

  * Fixed latex3/luaotfload#213: detect the lua-uni-algos package in case of
    error module 'lua-uni-normalize' not found (thanks, @dragonstyle).

  * Added the help page ?tinytex (thanks, @AmeliaMN, #361).

  * Use set -e and curl -f to fail immediately in the *nix installation script
    (thanks, @gaborcsardi, #356).

tinytex 0.37
  * Fixed rstudio/bookdown#1274: latexmk() should run the LaTeX engine one more
    time before calling makeindex (thanks, @trevorcampbell @ttimbers).

tinytex 0.36
  * Fixed the failure to detect the hyphen-french package from the LaTeX log:
    https://stackoverflow.com/q/69887190/559676

  * xfun::session_info('tinytex') can report the TeX Live (TinyTeX) version
    now.

  * Improved the way tinytex::tlmgr_repo() normalizes the repo URL (#346).

tinytex 0.35
  * install_tinytex() will automatically switch to using https://github.com/
    yihui/tinytex-releases/releases/tag/daily to install the daily version of
    TinyTeX if accessing https://yihui.org fails (#332).

  * install-bin-unix.sh and install-bin-windows.bat now install TinyTeX from
    https://github.com/yihui/tinytex-releases/releases/tag/daily instead of
    https://yihui.org/tinytex/TinyTeX.* (#270).

  * Fixed #322: automatically install hyphen-* packages in case of polyglossia
    warnings.

  * Run tlmgr conf texmf max_print_line 10000 to prevent LaTeX from wrapping
    log lines (#322 (comment)). If you do not like this configuration, you may
    run tlmgr conf texmf --delete max_print_line to delete it.

tinytex 0.34
  * The --data argument in tl_sizes() is properly quoted now to make it work on
    Windows (thanks, @IndrajeetPatil #329, @cderv #330).
@yihui yihui marked this pull request as ready for review January 31, 2023 22:03
@yihui yihui merged commit 51de443 into main Jan 31, 2023
@yihui yihui deleted the deprecate-isFALSE branch January 31, 2023 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

knitr::knit() evaluates chunk if false value of eval chunk option has a comment.
2 participants