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

facets-preview shiny app execution on linux #15

Open
anoronh4 opened this issue Aug 18, 2020 · 0 comments
Open

facets-preview shiny app execution on linux #15

anoronh4 opened this issue Aug 18, 2020 · 0 comments

Comments

@anoronh4
Copy link
Contributor

anoronh4 commented Aug 18, 2020

we were hoping to containerize this facets preview in our docker that has the base rocker/tidyverse (has a number of R packages pre-installed), however we are having difficulties based on the fact that shiny app was developed specifically for mac. for example:

last_mod = as.numeric(system(paste0("stat -f%c ", values$config$watcher_dir, "/watcher.log"), intern=TRUE))

stat -f%c <file> works only on mac. i would suggest that there be linux alternatives so that the linux equivalent stat -c%Y <file> executes when the OS is linux. Sys.info()['sysname'] can be executed to determine the os name, alternatively OS can be indicated as a parameter in the config file.

i'd be happy to make the PR myself pending your thoughts.

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