USGS-VIZLAB / vizlab

Package with utilities for building vizlab pages
Creative Commons Zero v1.0 Universal
25 stars 14 forks source link

whisker 0.4 newlines #399

Open aappling-usgs opened 5 years ago

aappling-usgs commented 5 years ago

David updated to whisker v0.4 and saw this output in remake.yml when he ran vizmake() (and therefore createRemakefile()):

targets:

  # --- fetch --- #
  fetchGA:
    command: readData(I('fetchGA'))
    depends: cache/fetch/current.rds  cache/fetch/current.rds:
    command: fetch(I('fetchGA'))
    depends:
      - arguments_fetchGA
      - vizlab/remake/scripts/fetchGA.R
      - vizlab/remake/timestamps/fetchGA.txt
      - data/gaTable.yaml  vizlab/remake/timestamps/fetchGA.txt:
    command: fetchTimestamp(I('fetchGA'))
  project_table:
    command: readData(I('project_table'))
    depends: data/gaTable.yaml  data/gaTable.yaml:
    command: fetch(I('project_table'))
    depends:
      - arguments_project_table
      - vizlab/remake/scripts/project_table.R
  siteText:
    command: readData(I('siteText'))
    depends: data/siteText.yaml  data/siteText.yaml:
    command: fetch(I('siteText'))
    depends: arguments_siteText

Note the numerous locations where there ought to be a line break and there isn't.

When he switched back to an earlier version of whisker without changing any other code, the .yml was rendered just fine.