nptscot / npt

Data processing code, also use this repo for issue tracking for the Network Planning Tool. See https://nptscot.github.io for development version
https://www.npt.scot/
GNU Affero General Public License v3.0
5 stars 0 forks source link

Error with 'taxi' variable missing #387

Closed Robinlovelace closed 5 months ago

Robinlovelace commented 5 months ago

After running tar_make() we get:

Error:
! Error running targets::tar_make()
  Error messages: targets::tar_meta(fields = error, complete_only = TRUE)
  Debugging guide: https://books.ropensci.org/targets/debugging.html
  How to ask for help: https://books.ropensci.org/targets/help.html
  Last error: ℹ In argument: `taxi = sum(taxi, na.rm = TRUE)`.
ℹ In group 1: `geo_code1 = "S01008427"`.
Caused by error:
! object 'taxi' not found
Robinlovelace commented 5 months ago

That's from ✖ error target commute_stats_baseline

Robinlovelace commented 5 months ago

We can fix this by reverting the previous PR: #386

Robinlovelace commented 5 months ago

But that would undo the fix to shopping trips..