Package: diffobj 0.3.5

diffobj: Diffs for R Objects

Generate a colorized diff of two R objects for an intuitive visualization of their differences.

Authors:Brodie Gaslam [aut, cre], Michael B. Allen [ctb, cph]

diffobj_0.3.5.tar.gz
diffobj_0.3.5.zip(r-4.5)diffobj_0.3.5.zip(r-4.4)diffobj_0.3.5.zip(r-4.3)
diffobj_0.3.5.tgz(r-4.4-x86_64)diffobj_0.3.5.tgz(r-4.4-arm64)diffobj_0.3.5.tgz(r-4.3-x86_64)diffobj_0.3.5.tgz(r-4.3-arm64)
diffobj_0.3.5.tar.gz(r-4.5-noble)diffobj_0.3.5.tar.gz(r-4.4-noble)
diffobj_0.3.5.tgz(r-4.4-emscripten)diffobj_0.3.5.tgz(r-4.3-emscripten)
diffobj.pdf |diffobj.html
diffobj/json (API)
NEWS

# Install 'diffobj' in R:
install.packages('diffobj', repos = c('https://brodieg.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/brodieg/diffobj/issues

On CRAN:

diff

13.09 score 229 stars 477 packages 106 scripts 352k downloads 61 exports 1 dependencies

Last updated 3 years agofrom:614c3e3e86. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-win-x86_64NOTEOct 27 2024
R-4.5-linux-x86_64NOTEOct 27 2024
R-4.4-win-x86_64OKOct 27 2024
R-4.4-mac-x86_64OKOct 27 2024
R-4.4-mac-aarch64OKOct 27 2024
R-4.3-win-x86_64OKOct 27 2024
R-4.3-mac-x86_64OKOct 27 2024
R-4.3-mac-aarch64OKOct 27 2024

Exports:AlignThresholdauto_contextconsole_linescont_fdiffChrdiffCsvdiffDeparsediffFilediffObjdiffobj_cssdiffobj_jsdiffobj_set_def_optsdiffPrintdiffStrdiv_ffinalizeHtmlgdoguidesChrguidesDeparseguidesFileguidesPrintguidesStrhas_Rdiffheadmake_blockingnchar_htmlPagerpager_is_lessPagerBrowserPagerOffPagerSystemPagerSystemLessPaletteOfStylesRdiff_chrRdiff_objsesses_datspan_fStyleStyleAnsiStyleAnsi256DarkRgbStyleAnsi256DarkYbStyleAnsi256LightRgbStyleAnsi256LightYbStyleAnsi8NeutralRgbStyleAnsi8NeutralYbStyleFunsStyleHtmlStyleHtmlLightRgbStyleHtmlLightYbStyleRawStyleTextsummarytag_ftailtrimChrtrimDeparsetrimFiletrimPrinttrimStrview_or_browse

Dependencies:crayon

Embed Diffs in R Markdown Or Shiny

Rendered fromembed.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2019-01-18
Started: 2018-07-29

diffobj - Diffs for R Objects

Rendered fromdiffobj.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2021-01-14
Started: 2016-07-26

Readme and manuals

Help Manual

Help pageTopics
Diffs for R Objectsdiffobj-package
Subsetting Methods for Diff Objectshead,Diff-method tail,Diff-method [,Diff,numeric,missing,missing-method
Extract/Replace a Style Class or Object from PaletteOfStyles[,PaletteOfStyles,ANY,ANY,ANY-method [<-,PaletteOfStyles-method [[,PaletteOfStyles-method
Controls How Lines Within a Diff Hunk Are AlignedAlignThreshold AlignThreshold-class
Determine if Diff Object Has Differencesany,Diff-method
Generate Character Representation of DiffSummary Objectas.character,DiffSummary-method
Configure Automatic Context Calculationauto_context
Attempt to Compute Console Height in Text Linesconsole_lines
Diff Result ObjectDiff-class
Diff Character Vectors Element By ElementdiffChr diffChr,ANY-method
Diff CSV FilesdiffCsv diffCsv,ANY-method
Diff Deparsed ObjectsdiffDeparse diffDeparse,ANY-method
Diff FilesdiffFile diffFile,ANY-method
Diff ObjectsdiffObj
Set All diffobj Options to Defaultsdiffobj_set_def_opts
Diff 'print'ed ObjectsdiffPrint diffPrint,ANY-method
Diff Object StructuresdiffStr diffStr,ANY-method
Retrieve Dimnames for PaletteOfStyles Objectsdimnames,PaletteOfStyles-method
Finalizing Methods for HTML OutputfinalizeHtml finalizeHtml,ANY-method finalizeHtml,Diff-method finalizeHtml,DiffSummary-method
Shorthand Function for Accessing diffobj Optionsgdo
Generic Methods to Implement Flexible Guide Line Computationsguides guidesChr guidesChr, guidesChr,ANY,character-method guidesDeparse guidesDeparse,ANY,character-method guidesFile guidesFile,ANY,character-method guidesPrint guidesPrint, guidesPrint,ANY,character-method guidesStr guidesStr, guidesStr,ANY,character-method
Attempt to Detect Whether diff Utility is Availablehas_Rdiff
Create a Blocking Version of a Functionmake_blocking
Count Text Characters in HTMLnchar_html
Objects for Specifying Pager SettingsPager PagerBrowser PagerOff PagerOff, PagerOff-class PagerSystem PagerSystem, PagerSystem-class PagerSystemLess PagerSystemLess, PagerSystemLess-class
Check Whether System Has less as Pagerpager_is_less
Class for Tracking Default Styles by Style TypePaletteOfStyles PaletteOfStyles-class
Get Parent Frame of S4 Call Stackpar_frame
Run Rdiff Directly on R ObjectsRdiff_chr Rdiff_obj
Shortest Edit Scriptses ses_dat
Display DiffSummary Objectsshow,DiffSummary-method
Display a PaletteOfStylesshow,PaletteOfStyles-method
Show Method for Style Objectsshow,Style-method show,StyleHtml-method
Customize Appearance of DiffStyle Style-class StyleAnsi StyleAnsi-class StyleAnsi256DarkRgb StyleAnsi256DarkRgb-class StyleAnsi256DarkYb StyleAnsi256DarkYb-class StyleAnsi256LightRgb StyleAnsi256LightRgb-class StyleAnsi256LightYb StyleAnsi256LightYb-class StyleAnsi8NeutralRgb StyleAnsi8NeutralRgb-class StyleAnsi8NeutralYb StyleAnsi8NeutralYb-class StyleHtml StyleHtml-class StyleHtmlLightRgb StyleHtmlLightRgb-class StyleHtmlLightYb StyleHtmlLightYb-class StyleRaw StyleRaw-class
Functions Used for Styling Diff ComponentsStyleFuns StyleFuns-class
Styling Information for SummariesStyleSummary StyleSummary-class StyleSummaryHtml StyleSummaryHtml-class
Character Tokens Used in DiffsStyleText StyleText-class
Summary Method for Diff Objectssummary,Diff-method
Display a Summarized Version of a PaletteOfStylessummary,PaletteOfStyles-method
Make Functions That Wrap Text in HTML Tagscont_f div_f div_f, span_f span_f, tag_f
Methods to Remove Unsemantic Text Prior to Difftrim trimChr trimChr, trimChr,ANY,character-method trimDeparse trimDeparse, trimDeparse,ANY,character-method trimFile trimFile,ANY,character-method trimPrint trimPrint, trimPrint,ANY,character-method trimStr trimStr, trimStr,ANY,character-method
Invoke IDE Viewer If Available, browseURL If Notview_or_browse
Return Location of Default HTML Support Filesdiffobj_css diffobj_js webfiles