Skip to content
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

should be able to include non-R scripts in scripts #337

Open
aappling-usgs opened this issue Mar 1, 2018 · 0 comments
Open

should be able to include non-R scripts in scripts #337

aappling-usgs opened this issue Mar 1, 2018 · 0 comments

Comments

@aappling-usgs
Copy link
Member

viz items have a scripts section that gets special handling (extraction of the relevant functions into another ~hidden file that includes just those functions necessary for that viz item). this section is supposed to support re-building of the viz item if any of the relevant functions have been edited. it would be great if this section also worked for non-R scripts - in my current use case in water-use-15, that's an .sh bash script, but could also by python, etc.. It doesn't work for non-R scripts now because of the special and R-specific handling, which means that when I edit the .sh file (which I've named as its own non-depends, non-script argument) i need to remember to remake::delete the target to force a rebuild. i can't put the .sh file in scripts because the R handling breaks. i can't put the .sh file in depends without making a viz item, reader, and fetcher/processor/somethingor for it, which seems like a big pain, so i think the manual deletion is the best option we have right now. a still better option would be for vizlab to support non-R scripts in scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant