cache_db_path: Get the path to the db file

Description Usage Arguments Details Value Examples

View source: R/db_helpers.R

Description

The directory is set to Sys.getenv("trakt_db_path"), with a default location derived from rappdirs::user_data_dir() if the variable is not set.

Usage

1
cache_db_path(name = "tRakt.db", verbose = TRUE)

Arguments

name

["tRakt.db"]: Name of db file.

verbose

[TRUE]: Log the db path to the console.

Details

The default directories are:

Value

Invisibly: character(1): Full path to the db file.

Examples

1

jemus42/attrakttv documentation built on July 5, 2021, 5:16 a.m.