Package: zumime Title: Media Type Detection from Bytes and File Names Version: 0.1.0 Authors@R: c( person("Pedro", "Baltazar", , "pedrobtz@gmail.com", role = c("aut", "cre", "cph")), person("Apache Software Foundation", role = "cph", comment = "copyright holder of the httpd mime.types file the extension table is generated from; see inst/COPYRIGHTS"), person("Mark", "Adler", role = "cph", comment = "copyright holder of puff.c, the inflater src/zumime_inflate.c is adapted from; see inst/COPYRIGHTS"), person("The Go Authors", role = "cph", comment = "copyright holder of the net/http sniff cases in tests/testthat/helper-go-sniff.R; see tests/testthat/COPYRIGHTS"), person("Sindre", "Sorhus", role = "cph", comment = "copyright holder of the file-type answers in tests/testthat/helper-file-type.R; see tests/testthat/COPYRIGHTS") ) Description: Tells what a file is from its first bytes and from its name, with no system library. Implements the Web Hypertext Application Technology Working Group (WHATWG) Multipurpose Internet Mail Extensions (MIME) Sniffing Standard over raw vectors and paths. Reads inside containers to tell 'Office' documents from plain 'ZIP' archives, audio from video in 'MP4' files, and 'Word' from 'Excel' in legacy 'Office' files, and recognises the data files 'R' users hold, such as files saved by 'R', 'Parquet', 'SQLite' and 'Stata' files. Every type has a parent in a hierarchy, and an extension table generated from the Internet Assigned Numbers Authority (IANA) media types registry and the 'Apache' 'httpd' type map answers from the name. One call reports both answers, whether they agree, and whether a file is compressed, encrypted or truncated. License: MIT + file LICENSE URL: https://github.com/pedrobtz/zumime, https://pedrobtz.github.io/zumime/ BugReports: https://github.com/pedrobtz/zumime/issues Depends: R (>= 4.1) Suggests: testthat (>= 3.0.0), withr, zucsv, zujson, zukomp Config/Needs/website: knitr, rmarkdown Config/testthat/edition: 3 Config/roxygen2/version: 8.1.1 Encoding: UTF-8 Language: en-GB NeedsCompilation: yes Packaged: 2026-11-12 00:02:00 UTC; root Author: Pedro Baltazar [aut, cre, cph], Apache Software Foundation [cph] (copyright holder of the httpd mime.types file the extension table is generated from; see inst/COPYRIGHTS), Mark Adler [cph] (copyright holder of puff.c, the inflater src/zumime_inflate.c is adapted from; see inst/COPYRIGHTS), The Go Authors [cph] (copyright holder of the net/http sniff cases in tests/testthat/helper-go-sniff.R; see tests/testthat/COPYRIGHTS), Sindre Sorhus [cph] (copyright holder of the file-type answers in tests/testthat/helper-file-type.R; see tests/testthat/COPYRIGHTS) Maintainer: Pedro Baltazar Repository: https://cran.r-universe.dev Date/Publication: 2026-11-11 22:51:45 UTC RemoteUrl: https://github.com/cran/zumime RemoteRef: HEAD RemoteSha: b1adf8120c9e1c2dc3760bd8f204c0fad39221e2