-
Hey @ColinFay & @VincentGuyader, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @yogat3ch, This is what the
can be read with
can be read with This function is a wrapper around For example, on my laptop, if I want to refer to https://github.com/ThinkR-open/golem/tree/master/inst/shinyexample
And this will return a different result on your machine. |
Beta Was this translation helpful? Give feedback.
Hey @yogat3ch,
This is what the
app_sys()
function was designed for. You can find it inside the app_config.R file.can be read with
app_sys("this.xyz")
can be read with
app_sys("that/this.xyz")
This function is a wrapper around
system.file(package = )
, that allows to point to the current directory (during dev) or to the path where the package is installed on the current machine. That allows to refer to file on any computer.For example, on my laptop, if I want to refer to https://github.com/ThinkR-open/golem/tree/master/inst/shinyexample