The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
diffviewer provides an HTML widget for visually comparing files. It currently wraps three javascript libraries:
It extracts out common UI provided by shinytest and vdiffr.
You can install the released version of diffviewer from CRAN with:
install.packages("diffviewer")
This is a basic example which shows you how to solve a common problem:
library(diffviewer)
<- tempfile()
path1 writeLines(letters, path1)
<- tempfile()
path2 writeLines(letters[-(10:11)], path2)
visual_diff(path1, path2)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.