-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot open file 'data-raw/config.yaml': No such file or directory with golem shiny app #899
Comments
Hey,
In a golem app, if you have an external resource to include, you can add it to inst/ Then,
can be read with
can be read with |
Hey Colin, I have added the file to inst. And read it like this:
But I get an error:
In app_server in
|
I have added the features of my own config.yaml to golem-config.yaml . Yet, I get warnings and errors when testing the package through build function:
Warning (test-golem-recommended.R:55:1): (code run outside of
Error (test-golem-recommended.R:55:1): (code run outside of
|
I am reading here https://engineering-shiny.org/golem.html but I cannot see anything about where I can set my paths to the data directory that is external to the app package I am building. |
hello all,
I am getting some error
cannot open file 'data-raw/config.yaml': No such file or directory
config.yaml is a file with paths, app version , variable renaming etc. which I have placed it into data-raw. I am not sure how to work with these types of files. This is where the repo is: https://github.com/gabrielburcea/gtdepmap/tree/devel_golem
TO NOTE: I did not work yet with modules, thus keep in mind, as I need to understand how complex is, will take it step by step , after I succeed runing the app the way I set it as of now, then I will add the modules.
The text was updated successfully, but these errors were encountered: