is_pff: Is the filename a Peregrine-friendly filename?

View source: R/is_pff.R

is_pffR Documentation

Is the filename a Peregrine-friendly filename?

Description

Is the filename a Peregrine-friendly filename?

Usage

is_pff(filename)

Arguments

filename

name of the file

Author(s)

Richèl J.C. Bilderbeek

See Also

see get_pff_tempdir and get_pff_tempfile to get a Peregrine-friendly temporary folder and filename

Use to_pff to convert a filename or folder to its Peregrine-friendly equivalent

Examples

is_pff(get_pff_tempdir())
is_pff(get_pff_tempfile())
is_pff("/peregrine_unfriendly")
is_pff("/tmp/peregrine_unfriendly")
is_pff("/local/peregrine_unfriendly")
is_pff("/local/tmp/peregrine_unfriendly")
is_pff("/data/peregrine_unfriendly")
is_pff("/data/p230198/peregrine_unfriendly")

richelbilderbeek/peregrine documentation built on Jan. 3, 2024, 7:42 p.m.