Skip to content

muschellij2/diffr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
November 20, 2015 11:25
img
November 22, 2015 07:24
February 27, 2017 14:39
November 19, 2015 15:24
February 27, 2017 14:39
November 20, 2015 11:25
February 27, 2017 14:39
November 20, 2015 11:25

Travis-CI Build Status

R package for creating code differences in JavaScript based on:

https://github.com/danvk/codediff.js

library(diffr)
file1 = tempfile()
writeLines("hello, world!\n", con = file1)
file2 = tempfile()
writeLines(paste0(
"hello world?\nI don't get it\n",
paste0(sample(letters, 65, replace = TRUE), collapse = "")), con = file2)
diffr(file1, file2, before = "f1", after = "f2")

About

R package for creating code differences in JavaScript based on codediff.js

Resources

Stars

Watchers

Forks

Packages

No packages published