Code Monkey home page Code Monkey logo

Comments (7)

SantiFilippo avatar SantiFilippo commented on August 18, 2024 1

Well, I do (and also advertise the package!)! Anyway, i also enjoyed the ggCyberPunk one, though it is a little less applicable....but now I am going out of issue!

from delabj.

delabj avatar delabj commented on August 18, 2024

Ah! I know what this is. I added a new operator %!in% but R doesn't like that. I will push a fix in short order.

from delabj.

delabj avatar delabj commented on August 18, 2024

Just pushed a quick fix for that Let me know if it works!

from delabj.

SantiFilippo avatar SantiFilippo commented on August 18, 2024

hey, thank you very much! it worked. By the way, was %!in% a negative statement for %in%?

from delabj.

delabj avatar delabj commented on August 18, 2024

Yep! I replaced it with %not_in% for now. I just found it a hassle to do !(list %in% another_list) so I added that to shorten it up.

You can add it to your own projects by running or adding this code to your .Rprofile file

#' not in
#' @name not_in
#' @rdname operators
#' @export
`%!in%` <- function(x, y) {
  !(x %in% y)
}

from delabj.

SantiFilippo avatar SantiFilippo commented on August 18, 2024

Good. I seldom use ``%notin% <- Negate(%in%`)` for this purpose, but having it in a package made things much better!
Thank you again, for the support and for the package: I use it a lot!

from delabj.

delabj avatar delabj commented on August 18, 2024

I'm glad to hear my package helps! Truthfully I didn't realize anyone else was using it consistently.

from delabj.

Related Issues (5)

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.