2DegreesInvesting / tiltToyData

Toy datasets for tilt
https://2degreesinvesting.github.io/tiltToyData/
GNU General Public License v3.0
0 stars 0 forks source link

Deprecate `toy_emissions_profile*_products()` in favor of `*_products_ecoinvent()` #26

Closed maurolepore closed 8 months ago

maurolepore commented 8 months ago

Closes #21

reprex

devtools::load_all()
#> ℹ Loading tiltToyData

# The deprecated function still works but you get a warning
# The file is now nested under the deprecated/ directory

toy_emissions_profile_products()
#> Warning: `toy_emissions_profile_products()` was deprecated in tiltToyData 0.0.0.9009.
#> ℹ Please use `toy_emissions_profile_products_ecoinvent()` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> [1] "/home/rstudio/git/tiltToyData/inst/extdata/deprecated/emissions_profile_products.csv.gz"

toy_emissions_profile_upstream_products()
#> Warning: `toy_emissions_profile_upstream_products()` was deprecated in tiltToyData
#> 0.0.0.9009.
#> ℹ Please use `toy_emissions_profile_upstream_products_ecoinvent()` instead.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> [1] "/home/rstudio/git/tiltToyData/inst/extdata/deprecated/emissions_profile_upstream_products.csv.gz"

Created on 2024-01-13 with reprex v2.0.2


TODO

EXCEPTIONS