Skip to content

webshot2

0.1.2Package record

Take Screenshots of Web Pages

16packages dependsuggested by 47
411Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Takes screenshots of web pages, including Shiny applications and R Markdown documents. 'webshot2' uses headless Chrome or Chromium as the browser back-end.

Changes in 0.1.2
  • Updated the documentation for webshot() to clarify that expand only applies to the clipping rectangle determined by selector. (#68)
  • webshot() now rounds vwidth and vheight to the nearest integer to match Chrome's expectations. If this behavior is somehow problematic, you can use vwidth = I(my_width) to avoid the conversion. (#70)
  • webshot() now surfaces errors that occur when working with the lower-level screenshot API provided by Chrome via {chromote}. (#69)
  • webshot() works harder to set the size of the virtual viewport when vwidth and vheight are used. This change improves compatibility with recent versions of Chrome (>= v132). (#72)

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Author field differs from that derived from Authors@R
  Author:    ‘Winston Chang [aut, cre], Barret Schloerke [ctb] (<https://orcid.org/0000-0001-9986-114X>), Posit Software, PBC [cph, fnd] (03wc8by49)’
  Authors@R: ‘Winston Chang [aut, cre], Barret Schloerke [ctb] (ORCID: <https://orcid.org/0000-0001-9986-114X>), Posit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)’

CRAN check page ↗

Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 82 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.2Citation fileNoWebsiteYes · pkgdown
Help pages
7 (2 internal)includes a package overview page
Examples that run
100%5 run in a plain check (5 of them under a condition)
Exported functions with examples
83%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
0%

Downloads

411K
CRAN downloads in the past year
Rank #650 · ~1.1K/day · ~34.3K/mo
Daily download trend is not available in this view yet.
26.1K30 days
86.2K90 days
411K1 year
Compare downloads with other packages →
Also on3.1K r2u4 autocran2.4K conda_forge

Repository

127Stars
17Forks
25Open issues
3Open PRs
3Releases
73Commits
10Commit identities
73 commits · Last activity 2025-04-24 · 0% stars, 30d · Default branch at 0.1.2.9000, ahead of CRAN 0.1.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
85%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-06-03 · 1172026-09-09 · 127
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rstudio/webshot2 on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-04-24

pkgdown site last built 2025-04-24

CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (2)
VS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing webshot2 adds 21 packages (12 with compiled code, 11 MB of source tarballs). Heaviest: promises 3.1 MB, Rcpp 1.8 MB, jsonlite 1.0 MB.

Depends (1)
R >= 3.2
LinkingTo (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.1.0 (2022)
Contributor
Copyright holder, Funder · added in 0.1.1
Listed in earlier versions (1)
RStudio
no longer listed · 0.1.0
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2Latest
    record
    2025-04-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    record
    2023-08-12 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    record
    2022-05-18
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-05-18
Total releases
3 / 4 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-2 in 0.1.2
Minimum R
≥ 3.2
Download size
518 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("webshot2")
Chang, W., Posit Software, PBC, & Schloerke, B. (2025). webshot2: Take Screenshots of Web Pages (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.webshot2

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for webshot2 version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy