{"id":30381123,"url":"https://github.com/fschaffner/websearchr","last_synced_at":"2026-03-10T12:31:35.574Z","repository":{"id":56937133,"uuid":"102012820","full_name":"fschaffner/websearchr","owner":"fschaffner","description":"Access Domains and Search Popular Websites in R","archived":false,"fork":false,"pushed_at":"2019-09-27T16:26:04.000Z","size":198,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-09T21:49:42.548Z","etag":null,"topics":["cran","internet","r","search","search-engine","web"],"latest_commit_sha":null,"homepage":"https://florianschaffner.com/websearchr","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/fschaffner.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}},"created_at":"2017-08-31T15:00:29.000Z","updated_at":"2021-11-04T08:04:11.000Z","dependencies_parsed_at":"2022-08-21T06:50:10.990Z","dependency_job_id":null,"html_url":"https://github.com/fschaffner/websearchr","commit_stats":null,"previous_names":["fschaff/websearchr"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/fschaffner/websearchr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschaffner%2Fwebsearchr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschaffner%2Fwebsearchr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschaffner%2Fwebsearchr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschaffner%2Fwebsearchr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fschaffner","download_url":"https://codeload.github.com/fschaffner/websearchr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fschaffner%2Fwebsearchr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30333445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"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":["cran","internet","r","search","search-engine","web"],"created_at":"2025-08-20T22:01:08.852Z","updated_at":"2026-03-10T12:31:35.566Z","avatar_url":"https://github.com/fschaffner.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n# websearchr \u003ca href='https://florianschaffner.com/websearchr'\u003e\u003cimg src='man/figures/websearchr.png' align=\"right\" height=\"139\" /\u003e\u003c/a\u003e\n\n[![CRAN Version](https://www.r-pkg.org/badges/version/websearchr)](https://cran.r-project.org/package=websearchr)\n![Downloads](https://cranlogs.r-pkg.org/badges/websearchr)\n[![Build Status](https://travis-ci.org/fschaffner/websearchr.svg?branch=master)](https://travis-ci.org/fschaffner/websearchr)\n[![Lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)\n\n\n\n## Overview\n\nThe purpose of **websearchr** is to provide a convenient way of accessing domains and searching popular websites directly from the R console. When working on small screens in particular, switching from the R console to the browser window, opening a new tab, navigating to the desired website and finally searching for the search terms requires around 3-6 clicks. As one is working mainly in the R console, it is more convenient to start typing the search terms right away, without having to go through the process mentioned above. For example, `stackoverflow(\"my r problem\")` will open the Stackoverflow search for \"my r problem\" in a new browser tab automatically.\n\n\n\nCurrently supported websites:\n\n* Bing\n* Crossref\n* Duckduckgo\n* GitHub\n* Google\n* Google Scholar\n* Qwant\n* r-bloggers.com\n* Rdocumentation.org\n* rdrr.io\n* Reddit\n* Stackoverflow\n* Startpage\n* Twitter\n* Wikipedia\n* Wolfram Alpha\n\nAny other domain can be accessed with `web(\"example.com\")`. You can also simply open the search engine in the browser by not specifying a search term, e.g. using `duckduckgo()`.\n\n\n\n#### Search last error or warning\n\nYou can easily search for the last produced error or warning using `last_error()` or `last_warning()` inside one of the search functions, e.g. `startpage(last_error())`. \n\n\n\n#### Language support\n\nTwitter and Wikipedia can be searched in different languages than English. For example, to search the French version of Wikipedia use `wikipedia(\"Langage de programmation\", \"fr\")`. \n\n\n\n#### Browser\n\nTo use a browser other than the default on your computer use `options(browser = \"path to browser\")`. For example, on macOS `options(browser = \"/usr/bin/open -a '/Applications/Safari.app'\")` or Windows `options(browser = \"C:\\\\Program Files (x86)\\\\Internet Explorer\\\\iexplore.exe\")`. To check which browser is set as the default use `getOption(\"browser\")`.\n\n\n\n## Installation\n\nYou can install websearchr from CRAN with:\n```{r cran-installation, eval = FALSE}\ninstall.packages(\"websearchr\")\n```\n\nOr install the development version from GitHub:\n```{r gh-installation, eval = FALSE}\nremotes::install_github(\"fschaffner/websearchr\")\n```\n\nPlease report issues or requests for additional functionality to https://github.com/fschaffner/websearchr/issues.\n\n\n\n## Example\n\n```{r example}\nlibrary(\"websearchr\")\n\n# Try:\n\nweb(\"r-project.org\")\n\ngoogle(\"my search terms\")\n\nstackoverflow(\"my r problem\")\n```\n\n\n## The Meme\n\n\u003ca href='https://florianschaffner.com/websearchr'\u003e\u003cimg src='man/figures/programmer-meme.png' align=\"middle\" height=\"400\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffschaffner%2Fwebsearchr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffschaffner%2Fwebsearchr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffschaffner%2Fwebsearchr/lists"}