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

Windows: tlmgr: command not found #2 #713

Closed
cdriveraus opened this issue Mar 23, 2023 · 2 comments
Closed

Windows: tlmgr: command not found #2 #713

cdriveraus opened this issue Mar 23, 2023 · 2 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@cdriveraus
Copy link

I believe this issue should perhaps still be open, or at least, I'm facing a problem with tlmgr not found after using the setup-tinytex@v2 action.
#671

Logs of failed build:
https://github.com/cdriveraus/ctsem/actions/runs/4500812938/jobs/7920422033

Relevant .yaml in use :

on:
  push:
    branches: [main, master,rstantools]
  pull_request:
    branches: [main, master,rstantools]

name: R-CMD-check

jobs:
  R-CMD-check:
    runs-on: ${{ matrix.config.os }}

    name: ${{ matrix.config.os }} (${{ matrix.config.r }})


    strategy:
      fail-fast: false
      matrix:
        config:
          - {os: macos-latest,   r: 'release', newRstan: false}
          - {os: windows-latest, r: 'release', newRstan: false}
          - {os: windows-latest, r: 'release', newRstan: true}
          - {os: ubuntu-latest,   r: 'devel', http-user-agent: 'release', newRstan: false}
          - {os: ubuntu-latest,   r: 'release', newRstan: false}
          - {os: ubuntu-latest,   r: 'oldrel-1', newRstan: false}

    env:
      R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
      R_KEEP_PKG_SOURCE: yes

    steps:
      - uses: actions/checkout@v3

      - uses: r-lib/actions/setup-pandoc@v2
          
      - uses: r-lib/actions/setup-r@v2
        with:
          r-version: ${{ matrix.config.r }}
          http-user-agent: ${{ matrix.config.http-user-agent }}
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          extra-packages: any::rcmdcheck, local::.
          needs: check
      
      - name: executable Permissions
        run: |
          chmod +x configure

      - name: rstan Upgrade
        if: ${{ matrix.config.newRstan == true }}
        run: |
          install.packages("StanHeaders", repos = c('https://mc-stan.org/r-packages/', getOption('repos')))
          install.packages("rstan", repos = c('https://mc-stan.org/r-packages/', getOption('repos')))
        shell: Rscript {0}

          
      - uses: r-lib/actions/setup-tinytex@v2
        env: 
          TINYTEX_INSTALLER: TinyTeX
          
      - name: Install additional LaTeX packages
        run: |
          tlmgr install biblatex-apa biblatex babel-english csquotes preprint mathtools caption biber
          
      - uses: r-lib/actions/check-r-package@v2
        with:
          error-on: '"error"'
          upload-snapshots: true
@cdriveraus cdriveraus added the bug an unexpected problem or unintended behavior label Mar 23, 2023
@gaborcsardi
Copy link
Member

I think this is fixed in #712 and will be in @v2 soon.

A current workaround is to select an older tinytex version, see https://github.com/r-lib/actions/tree/v2-branch/setup-tinytex#tinytex-bundled-release

@github-actions
Copy link

github-actions bot commented Apr 7, 2023

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants