{"id":15502323,"url":"https://github.com/hughjonesd/latexdiffr","last_synced_at":"2025-04-15T11:04:29.208Z","repository":{"id":52246397,"uuid":"154750401","full_name":"hughjonesd/latexdiffr","owner":"hughjonesd","description":"Diff rmarkdown or TeX files using the latexdiff utility","archived":false,"fork":false,"pushed_at":"2024-02-18T19:02:27.000Z","size":345,"stargazers_count":44,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T19:13:22.023Z","etag":null,"topics":["diff","r","rmarkdown","tex"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hughjonesd.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-25T23:33:07.000Z","updated_at":"2024-11-18T04:33:49.000Z","dependencies_parsed_at":"2024-11-01T10:03:31.262Z","dependency_job_id":"76191b1c-b3d9-460c-9127-4f857df60fce","html_url":"https://github.com/hughjonesd/latexdiffr","commit_stats":{"total_commits":185,"total_committers":2,"mean_commits":92.5,"dds":0.00540540540540535,"last_synced_commit":"6d0c95db5cc67dca3f3e122b4ca42ab895136d71"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughjonesd%2Flatexdiffr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughjonesd%2Flatexdiffr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughjonesd%2Flatexdiffr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughjonesd%2Flatexdiffr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hughjonesd","download_url":"https://codeload.github.com/hughjonesd/latexdiffr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571840,"owners_count":21126522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diff","r","rmarkdown","tex"],"created_at":"2024-10-02T09:09:18.711Z","updated_at":"2025-04-15T11:04:29.187Z","avatar_url":"https://github.com/hughjonesd.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# latexdiffr\n\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/latexdiffr)](https://CRAN.R-project.org/package=latexdiffr)\n[![R-CMD-check](https://github.com/hughjonesd/latexdiffr/workflows/R-CMD-check/badge.svg)](https://github.com/hughjonesd/latexdiffr/actions)\n[![Coverage status](https://codecov.io/gh/hughjonesd/latexdiffr/branch/master/graph/badge.svg)](https://app.codecov.io/github/hughjonesd/latexdiffr?branch=master)\n\u003c!-- badges: end --\u003e\n  \n\nlatexdiffr is a small library that uses the `latexdiff` command\nto create a diff of two Rmarkdown, .Rnw or TeX files.\n\n## Installation\n\n``` r\nremotes::install_github(\"hughjonesd/latexdiffr\")\n```\n\nYou will also need `latexdiff` installed on your system:\n\n``` bash\n# on MacOS:\nbrew install latexdiff\n\n# on Linux:\nsudo apt install latexdiff \n\n# with tinytex\nRscript -e \"tinytex::tlmgr_install('latexdiff')\"\n```\n\n## Example\n\n\n``` r\nlibrary(latexdiffr)\n# tinytex::tlmgr_path(\"add\")\nlatexdiff(\"file1.Rmd\", \"file2.Rmd\")\n\n```\n\nThis produces output like:\n\n![latexdiff screenshot](https://raw.githubusercontent.com/hughjonesd/latexdiffr/master/diff-screenshot.png)\n\n`git_latexdiff()` allows you to compare different revisions of a file in git:\n\n```r\n# 3 revisions ago:\ngit_latexdiff(\"my-file.Rmd\", \"HEAD~3\") \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughjonesd%2Flatexdiffr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhughjonesd%2Flatexdiffr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughjonesd%2Flatexdiffr/lists"}