{"id":13654207,"url":"https://github.com/hadley/adv-r","last_synced_at":"2025-05-13T18:10:43.970Z","repository":{"id":10160782,"uuid":"12241750","full_name":"hadley/adv-r","owner":"hadley","description":"Advanced R: a book","archived":false,"fork":false,"pushed_at":"2025-03-13T02:10:32.000Z","size":38570,"stargazers_count":2399,"open_issues_count":126,"forks_count":1711,"subscribers_count":138,"default_branch":"master","last_synced_at":"2025-05-10T11:52:26.618Z","etag":null,"topics":["book","bookdown","programming","r"],"latest_commit_sha":null,"homepage":"http://adv-r.hadley.nz","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"twitter/secureheaders","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hadley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2013-08-20T11:43:03.000Z","updated_at":"2025-05-07T13:12:48.000Z","dependencies_parsed_at":"2023-02-18T01:30:43.582Z","dependency_job_id":"38f2bcc7-0adc-47e5-ba27-68986e49eb74","html_url":"https://github.com/hadley/adv-r","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadley%2Fadv-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadley%2Fadv-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadley%2Fadv-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadley%2Fadv-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadley","download_url":"https://codeload.github.com/hadley/adv-r/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000854,"owners_count":21997442,"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":["book","bookdown","programming","r"],"created_at":"2024-08-02T02:01:24.870Z","updated_at":"2025-05-13T18:10:43.945Z","avatar_url":"https://github.com/hadley.png","language":"TeX","readme":"# Advanced R\n\n[![bookdown](https://github.com/hadley/adv-r/actions/workflows/bookdown.yaml/badge.svg?event=push)](https://github.com/hadley/adv-r/actions/workflows/bookdown.yaml)\n\nThis is code and text behind the [Advanced R](http://adv-r.hadley.nz)\nbook.  The site is built with [bookdown](https://bookdown.org/yihui/bookdown/).\n\n## Diagrams\n\nOmnigraffle:\n  \n* Make sure that 100% is \"one postscript point\": this ensures canvas\n  size matches physical size. Export at 300 dpi scaled to 100%.\n\n* Set grid to 1cm with 10 minor units. Ensure there is 2mm padding around\n  all sides of each diagram.\n\n* Conventions:\n    * Text is set in inconsolata 10pt, with text padding set to 3. \n    * Emoji set in \"Apple Color Emoji\" 8pt.\n    * Default scalar size is 6mm x 6mm.\n    * Symbols have 4pt rounded corners and plum border.\n    * Arrow heads should be set to 75%.\n    * Names should be coloured in steel.\n\nBook:\n\n* Inconsolata scaled (by fontspec) to match main font is 9.42pt.\n\n* Preview at 100% matches physical size of book. Maximum diagram width is 11cm.\n\nRMarkdown\n\n* Remove dpi specification from `include_graphics()`, instead relying\n  on `common.R`. Chunk should have `output.width = NULL`.\n\n* Beware caching: after changing the size of an image you may need to\n  clear the cache before it is correctly updated.\n\nTo zip files to for publisher:\n\n```\nmkdir crc\ncp _book/_main.tex crc\ncp -r _bookdown_files/*_files crc\ncp -r diagrams crc\ncp -r screenshots crc\ncp -r emoji crc\ncp mina.jpg crc\ncp krantz.cls crc\ncp book.bib crc\nrm crc/diagrams/*.graffle\n\nzip -r adv-r-source.zip crc\n```\n\n## Code of conduct\n\nPlease note that Advanced R is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n","funding_links":[],"categories":["TeX"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadley%2Fadv-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadley%2Fadv-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadley%2Fadv-r/lists"}