A 'robots.txt' Parser and 'Webbot'/'Spider'/'Crawler' Permissions Checker
Overview
Provides functions to download and parse 'robots.txt' files. Ultimately the package makes it easy to check if bots (spiders, crawler, scrapers, ...) are allowed to access specific resources on a domain.
- CRAN compliance - Packages which use Internet resources should fail gracefully
- CRAN compliance - fix R CMD check NOTES.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 33 (9 internal)
- Examples that run
- 0%2 never run
- Exported functions with examples
- 10%
- Documented parameters
- 98%
- Return-value docs
- 44%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 7
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ropensci/robotstxt on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 3 practices
Dependencies
Installing robotstxt adds 24 packages (16 with compiled code, 20 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, openssl 1.1 MB.
Code & Tests
People & History
Previously maintained by Peter Meissner (0.1.2 to 0.7.13).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.7.15Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.7.132020-09-03 · diff ↗
- 0.7.82020-07-25 · diff ↗
- 0.7.72020-06-27 · diff ↗
- 0.7.42020-05-31 · diff ↗ ·
added 12 exports
get_robotstxt_http_get, on_client_error_default, on_domain_change_default, on_file_type_mismatch_default, on_not_found_default, on_redirect_default, on_server_error_default, on_sub_domain_change_default, on_suspect_content_default, request_handler_handler, rt_last_http, rt_request_handler - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.6.22018-07-18 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.6.02018-02-11 · diff ↗
Show 8 earlier eventsHide 8 earlier events
- 0.5.2
- 0.4.1
- 0.4.0
- RR 3.4.0 released · 2017-04-21
- 0.3.22016-12-05 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.1.22016-02-08
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-02-08
- Total releases
- 12 / 10 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.0.0
- Download size
- 131 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("robotstxt")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.