Diffr
R package for creating code differences in JavaScript based on codediff.js
Install / Use
/learn @muschellij2/DiffrREADME
<!-- README.md is generated from README.Rmd. Please edit that file -->
diffr
<!-- badges: start --> <!-- badges: end -->The goal of diffr is an 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")
<img src="man/img/diffr-example.png" width="100%" />Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
