tests/mime.R

stopifnot(
  mime::guess_type('Makefile', empty = 'text/x-makefile') == 'text/x-makefile'
)

Try the mime package in your browser

Any scripts or data that you put into this service are public.

mime documentation built on Sept. 28, 2021, 9:07 a.m.