get_raket_path: Get the full path of a file in the 'inst/extdata' folder

Description Usage Arguments Value Author(s) Examples

View source: R/get_raket_path.R

Description

Get the full path of a file in the inst/extdata folder

Usage

1
get_raket_path(filename)

Arguments

filename

name of the file

Value

the full path of the filename, if and only if the file is present. Will stop otherwise.

Author(s)

Richel J.C. Bilderbeek

Examples

1
2
3
4
library(testthat)

expect_silent(get_raket_path("parameters.RDa"))
expect_error(get_raket_path("abs.ent"))

richelbilderbeek/raket documentation built on Dec. 31, 2019, 7:41 p.m.