Rindrics / tbr

資源評価の曳光弾
https://akikirinrin.github.io/tbr/
Other
0 stars 0 forks source link

Update stock assessment using 2019 data #25

Open Rindrics opened 4 years ago

Rindrics commented 4 years ago

(PO)🧔<New data (catch in 2019) is arriving! We have to update our assessment using them.]

Rindrics commented 4 years ago

Task of stock assessment scientist

Update test to break build

before

test_that("everything goes well",{
  this_software_is_stock_assessment(of = "japanese_sardine", for_fiscal_year = 2019)
})

after

test_that("everything goes well",{
  this_software_is_stock_assessment(of = "japanese_sardine", for_fiscal_year = 2020)
})

Build result

Error message tells stock assessment scientist what to do next

Error: "This package does not contain data of 2019. Add newest data editing 'foo.csv'"