Giter Club home page Giter Club logo

Comments (12)

stephhazlitt avatar stephhazlitt commented on September 7, 2024 1

This issue includes a fair bit of documentation updating as well. Perhaps just a notice for deprecating, but quite a bit of editing with removal.

from bcmaps.

stephhazlitt avatar stephhazlitt commented on September 7, 2024

Would we consider using lifecycle for this, it has a nice option to deprecate just an argument or partially deprecate an argument. On quick look this is what we will need to do for most of the functions for sp?

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

I think for the functions that provide data sources that makes sense... basically want to deprecate the class parameter right? For the utility functions (fix_geo_problems, transform_bc_albers) we want to deprecate the .Spatial methods I think using the traditional means - but I bet Lifecycle has ways to facilitate that as well?

from bcmaps.

boshek avatar boshek commented on September 7, 2024

One other way would be to just add a message on package load saying "sp is going away, be advised". The advantage there is that it is more likely to be read. Or maybe a combination of the two.

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

I think both are a good idea. Using the .Depracated method you get the message on the function calls "for free"

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

For sure. We should check the vignettes as well.

from bcmaps.

stephhazlitt avatar stephhazlitt commented on September 7, 2024

I have a PR up starting this work. Should (or can) we duplicate this issue and have one Issue/PR for deprecating all sp-related functionality and a second Issue/PR for changing raster fxns to use {terra}?

from bcmaps.

stephhazlitt avatar stephhazlitt commented on September 7, 2024

@ateucher nudge re: splitting the work behind this issue out into 2 PRs?

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

I think two PRs makes sense

from bcmaps.

stephhazlitt avatar stephhazlitt commented on September 7, 2024

@ateucher Do we leave this open until the Summer release?

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

Let's close it - I'll change the name so it's more reflective of what we did, then open a new one with a milestone

from bcmaps.

ateucher avatar ateucher commented on September 7, 2024

closed by #119

from bcmaps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.