diffviewer

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.

Installation

You can install the released version of diffviewer from CRAN with:

install.packages("diffviewer")

Example

This is a basic example which shows you how to solve a common problem:

library(diffviewer)
path1 <- tempfile()
writeLines(letters, path1)
path2 <- tempfile()
writeLines(letters[-(10:11)], path2)

visual_diff(path1, path2)

Copy Link

Version

Down Chevron

Install

install.packages('diffviewer')

Monthly Downloads

2,532

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

September 30th, 2021

Functions in diffviewer (0.1.1)