Skip to content

tfdatasets

2.18.0Package record

Interface to 'TensorFlow' Datasets

2packages dependsuggested by 3
54.1Kdownloads / year
77.7%test coverage
8/13flavors OK

Overview

About

Interface to 'TensorFlow' Datasets, a high-level library for building complex input pipelines from simple, re-usable pieces. See https://www.tensorflow.org/guide for additional details.

Changes in 2.18.0
  • New dataset_rebatch().
  • dataset_batch() gains args num_parallel_calls, name.
  • dataset_interleave() gains args deterministic, num_parallel_calls, name.
  • text_line_dataset() gains args num_parallel_calls, buffer_size, name.
  • Updated documentation to fix cross links (#96).

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  tfdatasets/tests/testthat/test-dataset-methods.R (.Dim: 11)
'.Dim' should be changed to 'dim'.

CRAN check page ↗

Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK13 OK2026-06-08
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.18.0
READMEYes · 142 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 2.18.0Citation fileNo
Help pages
89 (3 internal)
Examples that run
0%30 never run
Exported functions with examples
34%
Documented parameters
98%
Return-value docs
69%
Help pages citing references
1%
Vignettes (1)

Downloads

54.1K
CRAN downloads in the past year
Rank #2,150 · ~148/day · ~4.5K/mo
Daily download trend is not available in this view yet.
2.4K30 days
8.3K90 days
54.1K1 year
Compare downloads with other packages →
Also on181 r2u3 autocran2.1K conda_forge94 c2d4u

Repository

33Stars
10Forks
15Open issues
0Open PRs
9Releases
646Commits
8Commit identities
646 commits · Last activity 2025-08-21 · Default branch at 2.18.0.9000, ahead of CRAN 2.18.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2024-04-22 · 332026-07-07 · 33
PracticesBeta

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

Checks run against github.com/rstudio/tfdatasets on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
pkgdown

GitHub Pages site last deployed 2018-01-09

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing tfdatasets adds 29 packages (17 with compiled code, 11 MB of source tarballs). Heaviest: tfruns 1.9 MB, Rcpp 1.8 MB, reticulate 1.6 MB.

Depends (1)
R >= 3.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
1indirect
Imports 2
Suggested by 3
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (7)
Contributor, Copyright holder, Maintainer since 2.6.0 (2021) · added in 2.6.0
Author, Copyright holder
Author
Contributor, Copyright holder · added in 1.13.1
Copyright holder, Funder
Copyright holder

Previously maintained by Daniel Falbel (1.13.1 to 2.4.0) and JJ Allaire (1.5 to 1.9).

Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.18.0Latest
    record
    2025-08-20 · current release · diff ↗ ·
    removed 1 export
    input_fn.tf_dataset
    added 1 export
    dataset_rebatch
  • R
    R 4.5.0 released · 2025-04-11
  • 2.17.0
    record
    2024-07-17 · diff ↗ ·
    added 1 export
    tuple
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.9.0
    record
    2022-06-29 · diff ↗ ·
    added 4 exports
    as_tensor, dataset_group_by_window, dataset_take_while, dataset_unbatch
  • R
    R 4.2.0 released · 2022-04-22
  • 2.7.0
    record
    2021-11-09 · diff ↗ ·
    added 8 exports
    as_array_iterator, as_iterator, choose_from_datasets, dataset_bucket_by_sequence_length, dataset_rejection_resample, dataset_unique, iter_next, iterate
  • 2.6.0
    record
    2021-09-07 · diff ↗ ·
    added 5 exports
    dataset_enumerate, dataset_options, dataset_scan, dataset_snapshot, random_integer_dataset
  • R
    R 4.1.0 released · 2021-05-18
  • 2.4.0
    record
    2021-04-03 · diff ↗ ·
    added 1 export
    input_fn.tf_dataset
  • 2.2.0
    record
    2020-05-25 · diff ↗ ·
    added 1 export
    dataset_reduce
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.0
    record
    2019-12-13 · diff ↗ ·
    removed 1 export
    input_fn.tf_dataset
    added 30 exports
    all_nominal, all_numeric, contains, dataset_collect, dataset_use_spec, dataset_window, dense_features, ends_with, everything, feature_spec, fit, has_type, layer_input_from_dataset, matches, num_range, one_of, scaler_min_max, scaler_standard, starts_with, step_bucketized_column, step_categorical_column_with_hash_bucket, step_categorical_column_with_identity, step_categorical_column_with_vocabulary_file, step_categorical_column_with_vocabulary_list, step_crossed_column, step_embedding_column, step_indicator_column, step_numeric_column, step_remove_column, step_shared_embeddings_column
  • R
    R 3.6.0 released · 2019-04-26
Show 5 earlier eventsHide 5 earlier events
  • 1.13.1
    record
    2019-04-09 · diff ↗
  • 1.9
    record
    2018-08-25 · diff ↗ ·
    added 10 exports
    dataset_map_and_batch, dataset_prefetch_to_device, dataset_shuffle_and_repeat, make_csv_dataset, out_of_range_handler, sample_from_datasets, sql_dataset, sql_record_spec, sqlite_dataset, until_out_of_range
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5
    record
    2018-01-15
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-15
Total releases
11 / 8 yrs
License
Apache License 2.0 OSI
Minimum R
≥ 3.1
Bundled data
3.0 KB / 1 file
Download size
792 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tfdatasets")
Kalinowski, T., RStudio, Allaire, J., Falbel, D., Google Inc., , Tang, Y., & Ushey, K. (2025). tfdatasets: Interface to 'TensorFlow' Datasets (Version 2.18.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tfdatasets

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

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