Closed cjyetman closed 5 months ago
💡 TIP: you can encode the °
(degrees symbol) with either a hex or unicode escape sequence to get around R CMD check complaining about non-ASCII code being used
pacta.portfolio.import:::char_to_hex("°")
#> "\xc2\xb0"
pacta.portfolio.import:::char_to_unicode("°")
#> "\U000000B0"
e.g.
"1.5°C"
#> [1] "1.5°C"
"1.5\xc2\xb0C"
#> [1] "1.5°C"
"1.5\U000000B0C"
#> [1] "1.5°C"
Relates to #52
2022Q4 and 2023Q4 datasets include new scenarios that have not previously been included
https://github.com/RMI-PACTA/workflow.data.preparation/blob/680eda103914219b756e9630315378ae83dbd4f8/config.yml#L131
https://github.com/RMI-PACTA/workflow.data.preparation/blob/680eda103914219b756e9630315378ae83dbd4f8/config.yml#L171
therefore we will need to include these new scenarios in the legend ordering for the trajectory volume plot... https://github.com/RMI-PACTA/pacta.portfolio.report/blob/24ebb45079153fb62d6080572830b02afb0fdfc2/inst/js/trajectory_alignment.js#L381-L399
ℹ️ FYI @MonikaFu @AlexAxthelm @jdhoffa