{"id":13654207,"url":"https://github.com/hadley/adv-r","last_synced_at":"2026-10-19T08:06:18.956Z","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":2461,"open_issues_count":132,"forks_count":1684,"subscribers_count":133,"default_branch":"master","last_synced_at":"2026-10-14T09:18:32.901Z","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":"2026-10-09T08:05:31.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,"purl":"pkg:github/hadley/adv-r","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadley%2Fadv-r/sbom","scorecard":{"id":452531,"data":{"date":"2025-08-11","repo":{"name":"github.com/hadley/adv-r","commit":"63ea8d94cdfbb13fd5dcee7d3d5e3b1e848dc7b3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/bookdown.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":9,"reason":"Found 29/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/bookdown.yaml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/hadley/adv-r/bookdown.yaml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T08:34:19.798Z","repository_id":10160782,"created_at":"2025-08-19T08:34:19.798Z","updated_at":"2025-08-19T08:34:19.798Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38351743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-10-19T08:06:18.126Z","avatar_url":"https://github.com/hadley.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"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","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"}