Skip to content

tuber

2.0.0Package record

Client for the YouTube Data API

0packages dependsuggested by 1
10.7Kdownloads / year
59.6%test coverage
13/13flavors OK

Overview

About

Search public YouTube data and retrieve channels, videos, playlists, comments, captions, live broadcasts, and reference data. Authenticated methods support common uploads, playlist changes, comment moderation, and media updates. See the YouTube Data API documentation at https://developers.google.com/youtube/v3/.

Changes in 2.0.0

Released 2026-08-17.

Breaking API cleanup

  • List endpoints now use a consistent list_*() prefix. The renamed functions are list_comments(), list_comment_threads(), list_playlist_items(), list_playlists(), list_subscriptions(), list_live_chat_messages(), and list_super_chat_events().
  • Resource-specific names replace ambiguous names and abbreviations, including get_video_stats(), get_channel_details(), list_popular_videos(), list_video_categories(), list_languages(), and download_caption().
  • Singular mutation arguments use singular names, such as video_id, comment_id, and playlist_item_id. Plural ID arguments accept vectors.
  • Public reads default to API-key authentication. OAuth-only functions no longer expose an auth choice.
Show all changes in 2.0.0Hide the rest of the changes in 2.0.0
  • Simplified list results use fixed snake-case schemas. Set simplify = FALSE to retain the collected API response. get_video_details() remains dynamic because its columns depend on part.

See vignette("api-conventions", package = "tuber") for the full migration

table and endpoint support matrix.

Correctness

  • Video and caption uploads now use Google's resumable upload protocol. Thumbnail and channel-banner uploads use explicit media uploads and enforce YouTube's file-size limits.
  • Comment collection fetches every reply page instead of relying on the reply preview embedded in a comment thread.
  • Channel, playlist, subscription, comment, live-broadcast, and search wrappers now enforce the filter combinations documented by YouTube.
  • Pagination treats max_results as a total limit and trims the first page as well as later pages.
  • Quota estimates use Google's current data, search, and video-upload buckets and method-specific costs.
  • The optional response cache covers reference data, is transparent and persistent when configured, and is isolated by authentication credentials.
  • Removed wrappers for retired related-video and guide-category endpoints.

Documentation

  • Added an API convention and endpoint coverage vignette.
  • Rewrote the README around the supported API and removed obsolete OAuth, caption, and TLS instructions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.0
READMEYes · 327 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 2.0.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
123 (50 internal)includes a package overview page
Examples that run
10%6 run in a plain check · 57 never run
Exported functions with examples
90%
Documented parameters
99%
Return-value docs
93%
Help pages citing references
33%

Downloads

10.7K
CRAN downloads in the past year
Rank #4,570 · ~29/day · ~892/mo
Daily download trend is not available in this view yet.
72330 days
1.8K90 days
10.7K1 year
Compare downloads with other packages →
Also on117 r2u3 autocran129 c2d4u

Repository

191Stars
54Forks
0Open issues
0Open PRs
1Releases
14Commits
1Commit identities
youtube-apiyoutubeapi-clientoauth2rr-package
14 commits · Last activity 2026-10-21 · 0% stars, 30d · Default branch at 2.0.0.9000, ahead of CRAN 2.0.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
1,306
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-01 · 1852026-09-05 · 191
PracticesBeta

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

Checks run against github.com/gojiplus/tuber on 2026-10-18.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Issue templates
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-09-21

Coverage (1)
Coverage reporting
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
CITATION.cff
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Codexfirst seen 2025-07-09
    Pull request it wrote: opened by a project member
  • Claude Codefirst seen 2025-08-23
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: at least 5 crediting it in the message
Models named in its commits
  • Claude Opus 54 commits · Aug 2026
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
26 external dependencies (excludes base and recommended)

Installing tuber adds 32 packages (21 with compiled code, 21 MB of source tarballs). Heaviest: stringi 11 MB, openssl 1.1 MB, jsonlite 1.0 MB.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1 (2015)
Contributor · added in 0.9.3
Contributor · added in 0.9.7
Releases (22)

Pick two releases to compare their code metrics.

  • 2.0.0Latest
    record
    2026-08-02 · current release · diff ↗ ·
    removed 35 exports
    delete_captions, delete_channel_sections, delete_comments, delete_playlist_items, delete_playlists, delete_videos, get_captions, get_channel_info_cached, get_channel_sections, get_channel_stats, get_comment_threads, get_comments, get_live_chat_messages, get_live_streams, get_playlist_item_videoids, get_playlist_items, get_playlists, get_premiere_info, get_related_videos, get_stats, get_subscriptions, get_super_chat_events, list_caption_tracks, list_channel_resources, list_guidecats, list_langs, list_langs_cached, list_my_channel, list_regions_cached, list_videocats and 5 more
    added 24 exports
    delete_caption, delete_channel_section, delete_comment, delete_playlist, delete_playlist_item, delete_video, download_caption, get_channel_details, get_my_channel, get_playlist_video_ids, get_video_broadcast_timing, get_video_stats, list_comment_threads, list_comments, list_languages, list_live_broadcasts, list_live_chat_messages, list_playlist_items, list_playlists, list_popular_videos, list_subscriptions, list_super_chat_events, list_video_categories, search_short_videos
  • 1.4.1
    record
    2026-08-02 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.0
    record
    2026-03-25 · diff ↗ ·
    added 33 exports
    analyze_channel, analyze_trends, bulk_video_analysis, compare_channels, count_emojis, extract_emojis, get_channel_info_cached, get_channel_sections, get_live_chat_messages, get_live_streams, get_premiere_info, get_super_chat_events, get_video_thumbnails, has_emoji, insert_channel_banner, list_captions, list_channel_members, list_langs_cached, list_regions_cached, list_videocats_cached, post_comment, remove_emojis, replace_emojis, reply_to_comment, search_shorts, set_comment_moderation_status, set_video_thumbnail, tuber_GET_cached, tuber_cache_clear, tuber_cache_config and 3 more
  • 1.1.0
    record
    2025-08-25 · diff ↗ ·
    added 3 exports
    yt_get_quota_usage, yt_reset_quota, yt_set_quota_limit
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.1
    record
    2025-04-01 · diff ↗ ·
    added 9 exports
    %>%, add_video_to_playlist, change_playlist_title, create_playlist, get_playlist_item_ids, get_playlist_item_videoids, update_video_metadata, yt_get_key, yt_set_key
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.9
    record
    2020-06-11 · diff ↗ ·
    added 3 exports
    read_sbv, yt_authorized, yt_token
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.8
    record
    2019-06-26 · diff ↗ ·
    added 2 exports
    list_my_videos, upload_caption
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9.7
    record
    2018-05-07 · diff ↗ ·
    added 2 exports
    list_my_channel, upload_video
Show 18 earlier eventsHide 18 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9.5
    record
    2018-03-01 · diff ↗ ·
    added 1 export
    get_all_channel_video_stats
  • 0.9.4
    record
    2018-02-13 · diff ↗
  • 0.9.3
    record
    2018-02-03 · diff ↗ ·
    added 1 export
    get_all_comments
  • 0.9.2
    record
    2017-11-19 · diff ↗
  • 0.9.1
    record
    2017-09-20 · diff ↗
  • 0.9.0
    record
    2017-05-28 · diff ↗ ·
    added 6 exports
    delete_captions, delete_channel_sections, delete_comments, delete_playlist_items, delete_playlists, delete_videos
  • R
    R 3.4.0 released · 2017-04-21
  • 0.8.0
    record
    2017-04-11 · diff ↗
  • 0.7.0
    record
    2016-11-21 · diff ↗
  • 0.6.0
    record
    2016-11-11 · diff ↗ ·
    added 1 export
    list_caption_tracks
  • 0.4.0
    record
    2016-10-04 · diff ↗ ·
    added 2 exports
    get_comment_threads, list_channel_videos
  • 0.3.0
    record
    2016-08-04 · diff ↗ ·
    removed 4 exports
    get_channel, get_details, list_channel_videos, yt_get_related_videos
    added 8 exports
    get_channel_stats, get_playlist_items, get_playlists, get_related_videos, get_subscriptions, get_video_details, list_channel_resources, list_videos
  • 0.2.1
    record
    2016-06-20 · diff ↗ ·
    added 4 exports
    get_channel, list_channel_activities, list_channel_sections, list_channel_videos
  • R
    R 3.3.0 released · 2016-05-03
  • 0.2
    record
    2016-01-17 · diff ↗ ·
    added 6 exports
    list_abuse_report_reasons, list_guidecats, list_langs, list_regions, list_videocats, yt_get_related_videos
  • 0.1
    record
    2015-11-16
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-11-16
Total releases
22 / 11 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
188 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("tuber")

The package provides a citation file, so citation() returns the authors' own entry.

The repository also keeps a CITATION.cff.

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 tuber version 2.0.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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