You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,3 +54,23 @@ It is sometimes difficult to understand the cause of a doppelganger failure. A f
54
54
To help you understand the causes of a failure, vdiffr automatically logs the SVG diff of all failures when run under R CMD check. The log is located in `tests/vdiffr.Rout.fail` and should be displayed on Travis.
55
55
56
56
You can also set the `VDIFFR_LOG_PATH` environment variable with `Sys.setenv()` to unconditionally (also interactively) log failures in the file pointed by the variable.
57
+
58
+
59
+
## Building vdiffr
60
+
61
+
_This section is only relevant for building vdiffr from scratch, as opposed to installing from a pre-built package on CRAN._
62
+
63
+
Building vdiffr requires the system dependency libpng. As vdiffr doesn't have any build-time configuration, your R configuration must point to libpng's `include` and `lib` folders.
64
+
65
+
For instance on macOS, install libpng with:
66
+
67
+
```sh
68
+
brew install libpng
69
+
```
70
+
71
+
And make sure your `~/.R/Makevars` knows about Homebrew's `include` and `lib` folders where libpng should now be installed. On arm64 hardware, this would be:
0 commit comments