vdiffr
vdiffr copied to clipboard
How to build on macOS arm64?
I had to add the following to ~/.R/Makevars to be able to build locally:
CPPFLAGS = -I/opt/homebrew/include
LDFLAGS = -L/opt/homebrew/lib
Is this expected? Would it work out of the box if I installed libpng elsewhere? Should the package perhaps get an anticonf file? Can we document this better?
I also have this issue. I think it also occurs when installing svglite, i.e. https://github.com/r-lib/svglite/issues/169 (both need libpng)
Possibly the configure script used by systemfonts can be used here too https://github.com/r-lib/svglite/issues/169#issuecomment-1652541180