mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-17 08:40:56 +00:00
Bump R version and update holidays file for release (#2349)
This commit is contained in:
parent
583f81e428
commit
0bf05baf3c
4 changed files with 12139 additions and 5511 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
Package: prophet
|
Package: prophet
|
||||||
Title: Automatic Forecasting Procedure
|
Title: Automatic Forecasting Procedure
|
||||||
Version: 1.1.1
|
Version: 1.1.2
|
||||||
Date: 2022-09-09
|
Date: 2023-01-20
|
||||||
Authors@R: c(
|
Authors@R: c(
|
||||||
person("Sean", "Taylor", email = "sjtz@pm.me", role = c("cre", "aut")),
|
person("Sean", "Taylor", email = "sjtz@pm.me", role = c("cre", "aut")),
|
||||||
person("Ben", "Letham", email = "bletham@fb.com", role = "aut")
|
person("Ben", "Letham", email = "bletham@fb.com", role = "aut")
|
||||||
|
|
|
||||||
BIN
R/R/sysdata.rda
BIN
R/R/sysdata.rda
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
|
@ -67,7 +67,7 @@ def generate_holidays_file():
|
||||||
# Convert to ASCII, and drop holidays that fail to convert
|
# Convert to ASCII, and drop holidays that fail to convert
|
||||||
generated_holidays['holiday'] = generated_holidays['holiday'].apply(utf8_to_ascii)
|
generated_holidays['holiday'] = generated_holidays['holiday'].apply(utf8_to_ascii)
|
||||||
failed_countries = generated_holidays.loc[generated_holidays['holiday'] == 'FAILED_TO_PARSE', 'country'].unique()
|
failed_countries = generated_holidays.loc[generated_holidays['holiday'] == 'FAILED_TO_PARSE', 'country'].unique()
|
||||||
if failed_countries:
|
if len(failed_countries) > 0:
|
||||||
print("Failed to convert UTF-8 holidays for:")
|
print("Failed to convert UTF-8 holidays for:")
|
||||||
print('\n'.join(failed_countries))
|
print('\n'.join(failed_countries))
|
||||||
assert 'FAILED_TO_PARSE' not in generated_holidays['holiday'].unique()
|
assert 'FAILED_TO_PARSE' not in generated_holidays['holiday'].unique()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue