Skip to content

Map Filenames to MIME Types

52packages dependsuggested by 9
13.8Mdownloads / year
5.9%test coverage
11/13flavors OK

Overview

About

Guesses the MIME type from a filename extension using the data derived from /etc/mime.types in UNIX-type systems.

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:    ‘Yihui Xie [aut, cre] (<https://orcid.org/0000-0003-0645-5666>, https://yihui.org), Jeffrey Horner [ctb], Beilei Bian [ctb]’
  Authors@R: ‘Yihui Xie [aut, cre] (ORCID: <https://orcid.org/0000-0003-0645-5666>, URL: https://yihui.org), Jeffrey Horner [ctb], Beilei Bian [ctb]’

CRAN check page ↗

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

none known

Documentation

In release 0.13
READMEYes · 30 wordsVignettesNoNEWSYes · does not mention 0.13Citation fileNo
Help pages
3
Examples that run
100%2 run in a plain check
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
33%
Help pages citing references
33%

Downloads

13.8M
CRAN downloads in the past year
Rank #44 · ~37.8K/day · ~1.2M/mo
Daily download trend is not available in this view yet.
1M30 days
3.5M90 days
13.8M1 year
Compare downloads with other packages →
Also on232.5K r2u140 autocran1.6M conda_forge21K c2d4u

Repository

33Stars
15Forks
2Open issues
0Open PRs
3Releases
131Commits
11Commit identities
rmime-types
131 commits · Last activity 2026-06-18 · 0% stars, 30d · Default branch at 0.13.1, ahead of CRAN 0.13 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
82%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-02-01 · 332026-07-07 · 33
PracticesBeta

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

Checks run against github.com/yihui/mime on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)

The repository owner accepts GitHub Sponsors

Docs source (1)

GitHub Pages site last deployed 2026-06-18

Coverage (1)
Coverage reporting
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • GitHub Copilotfirst seen 2026-04-16
    Pull request: opened by its own account
    Commits: 1 by its own account · at least 1 crediting it in the message
  • Claude Codefirst seen 2026-05-20
    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 4.65 commits · May 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
0 external dependencies (excludes base and recommended)

Installing mime adds no packages beyond those that come with R.

Depends (0)
none
Imports (1)
tools
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.1 (2014)
https://yihui.org
Contributor · added in 0.6
Contributor · added in 0.2
Releases (15)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.13Latest
    record
    2025-03-17 · current release · diff ↗
  • 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
  • 0.12
    record
    2021-09-28 · diff ↗
  • 0.11
    record
    2021-06-23 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.10
    record
    2021-02-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9
    record
    2020-02-04 · diff ↗
  • 0.8
    record
    2019-12-19 · diff ↗
  • 0.7
    record
    2019-06-11 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6
    record
    2018-10-05 · diff ↗
Show 12 earlier eventsHide 12 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.5
    record
    2016-07-07 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 0.4
    record
    2015-09-03 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.3
    record
    2015-03-29 · diff ↗
  • 0.2
    record
    2014-09-26 · diff ↗ ·
    added 1 export
    parse_multipart
  • 0.1.2
    record
    2014-07-25 · diff ↗
  • 0.1.1
    record
    2014-05-12 · diff ↗ ·
    added 1 export
    mimemap
  • 0.1
    record
    2014-04-30
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-04-30
Total releases
15 / 12 yrs
License
GPL
Download size
21 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mime")
Xie, Y., Bian, B., & Horner, J. (2025). mime: Map Filenames to MIME Types (Version 0.13) [Computer software]. https://doi.org/10.32614/CRAN.package.mime

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

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