Running 'texi2dvi' on `file.tex` failed

I am using github actions to check a package on macOS. I have tried installing TeX with
brew install basictex texinfo

and running - uses: r-lib/actions/setup-pandoc@v1

but I see the error:

--- re-building ‘RandomTopologies.Rnw’ using Sweave

Error: Error: processing vignette 'RandomTopologies.Rnw' failed with diagnostics:

Running 'texi2dvi' on 'RandomTopologies.tex' failed.


You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one. If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do). See the --help
output for more details.

How do I configure a macOS run to compile vignettes?

This topic was automatically closed 21 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.