is_tarfile | R Documentation |
Check the magic bytes at offset 257. If they match "ustar" including the null terminator, the file is probably a tar. https://www.gnu.org/software/tar/manual/html_node/Standard.html
is_tarfile(path)
path |
A character of filepath to tar archived file. |
Other r_utils:
Enum()
,
IsSubR6Class()
,
cls_help()
,
format_class()
,
is_list_named()
,
islistempty()
,
pkg_method()
,
retry_api_call()
,
rsplit()
,
split_str()
,
write_bin()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.