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.
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: https://github.com/taylor-lab/facets-preview/blob/0d89717a22bb97f12767fe0ecc5ce77817098765/inst/application/server.R#L73stat -f%c <file>
works only on mac. i would suggest that there be linux alternatives so that the linux equivalentstat -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.