{"id":16036580,"url":"https://github.com/dgrtwo/adblockr","last_synced_at":"2025-10-13T20:04:29.384Z","repository":{"id":149050913,"uuid":"55257764","full_name":"dgrtwo/adblockr","owner":"dgrtwo","description":"Block ads from the monetizr package","archived":false,"fork":false,"pushed_at":"2016-04-01T19:55:27.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T20:03:49.032Z","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/dgrtwo.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}},"created_at":"2016-04-01T19:38:38.000Z","updated_at":"2018-11-09T05:51:31.000Z","dependencies_parsed_at":"2023-04-26T17:32:13.167Z","dependency_job_id":null,"html_url":"https://github.com/dgrtwo/adblockr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dgrtwo/adblockr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrtwo%2Fadblockr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrtwo%2Fadblockr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrtwo%2Fadblockr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrtwo%2Fadblockr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgrtwo","download_url":"https://codeload.github.com/dgrtwo/adblockr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgrtwo%2Fadblockr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016924,"owners_count":26085905,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-10-08T22:05:50.133Z","updated_at":"2025-10-13T20:04:29.364Z","avatar_url":"https://github.com/dgrtwo.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"### adblockr: Block ads created by the monetizr package\n\nI was horrified to learn of the existence of the [monetizr package](http://varianceexplained.org/r/monetizr/), which adds advertisements to R functions:\n\n```{r}\nlibrary(monetizr)\n\nmultiply_by_two \u003c- function(x) {\n  x * 2\n}\n\nmultiply_by_two \u003c- marketably(multiply_by_two,\n                              \"This is an awful, distracting ad\")\n\nmultiply_by_two(10)\n```\n\nThe adblockr package offers the `freely` adverb, which converts the `multiply_by_two` function back to give you an ad-free experience:\n\n```{r}\nlibrary(adblockr)\n\nmultiply_by_two \u003c- freely(multiply_by_two)\n\nmultiply_by_two(5)\n```\n\nThe package also includes the `block_all` function for removing all ads from a package. For example, once the next version of broom is monetized, you can block all ads in the package with:\n\n```{r eval = FALSE}\nlibrary(broom)\n\nblock_all(\"broom\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgrtwo%2Fadblockr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgrtwo%2Fadblockr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgrtwo%2Fadblockr/lists"}