{"id":43581172,"url":"https://github.com/Jiawang1209/ggSketch","last_synced_at":"2026-02-15T06:01:07.645Z","repository":{"id":325658843,"uuid":"1101957528","full_name":"Jiawang1209/ggSketch","owner":"Jiawang1209","description":"ggSketch is an R package that transforms photos into sketch-style contour drawings using the grammar of ggplot2.","archived":false,"fork":false,"pushed_at":"2025-11-22T15:19:19.000Z","size":3557,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T17:20:52.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Jiawang1209.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T14:57:58.000Z","updated_at":"2025-11-22T15:19:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Jiawang1209/ggSketch","commit_stats":null,"previous_names":["jiawang1209/ggsketch"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Jiawang1209/ggSketch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiawang1209%2FggSketch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiawang1209%2FggSketch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiawang1209%2FggSketch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiawang1209%2FggSketch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jiawang1209","download_url":"https://codeload.github.com/Jiawang1209/ggSketch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jiawang1209%2FggSketch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29471144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T05:26:30.465Z","status":"ssl_error","status_checked_at":"2026-02-15T05:26:21.858Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-04T00:00:30.412Z","updated_at":"2026-02-15T06:01:07.640Z","avatar_url":"https://github.com/Jiawang1209.png","language":"R","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"---\ntitle: \"ggSketch\"\nauthor: \"Jiawang Liu\"\ndate: \"2025-11-22\"\noutput: github_document\n---\n\n# Install\n\n```\n# install.packages(\"devtools\")\ndevtools::install_github(\"Jiawang1209/ggSketch\")\n```\n\nor\n\n```\n# install.packages(\"pak\")\npak::pak(\"Jiawang1209/ggSketch\")\n```\n\n\n# Load R Package\n\n```{r}\nlibrary(ggSketch)\nlibrary(ggplot2)\nlibrary(dplyr)\nlibrary(patchwork)\n```\n\n\n# Example Data\n\n```{r}\nimg1 \u003c- system.file(\"extdata\", \"Kobe.png\", package = \"ggSketch\")\n\np1 \u003c- ggSketch(photopath = img1,\n               color = \"#000000\",\n               linewidth = 0.3)\n\np1\n\n```\n\n\n```{r}\nimg2 \u003c- system.file(\"extdata\", \"LeBron.png\", package = \"ggSketch\")\n\np2 \u003c- ggSketch(photopath = img2,\n               color = \"#000000\",\n               linewidth = 0.3)\n\np2\n\n```\n\n\n```{r}\nimg3 \u003c- system.file(\"extdata\", \"Kobe_LeBron.png\", package = \"ggSketch\")\n\np3 \u003c- ggSketch(photopath = img3,\n               color = \"#000000\",\n               linewidth = 0.3)\n\np3\n```\n\n\n```{r}\np_combine \u003c- (p1 + p2) / p3\n\np_combine\n```\n\n# sessionInfo\n```{r}\nsessionInfo()\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJiawang1209%2FggSketch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJiawang1209%2FggSketch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJiawang1209%2FggSketch/lists"}