kb_file_exists: Check to see if a file exists under a users Keybase public...

View source: R/keybase-shim.r

kb_file_existsR Documentation

Check to see if a file exists under a users Keybase public folder

Description

First tries local /keybase filesystem for access. Upon failure, tests for access via the keybase filesystem web interface.

Usage

kb_file_exists(path)

Arguments

path

file path for existence test

Value

NA if not found, otherwise the either the filesystem path or URL path

Examples

## Not run: 
kb_file_exists("/hrbrmstr/cran/PACKAGES")
kb_file_exists("/hrbrmstr/cran/PACKAGES.gz")
kb_file_exists("/hrbrmstr/cran/PACKAGES.rds")

## End(Not run)

ropenscilabs/notary documentation built on May 20, 2022, 11:58 a.m.