Code Monkey home page Code Monkey logo

delabj's Introduction

About Me

delabj's People

Contributors

delabj avatar

Watchers

 avatar  avatar

Forkers

jimsforks

delabj's Issues

Delabj for R 4.0

Hi, I've just updated R to the newest version (4.0.3)

I am not abel to install the delabj package anymore. Are there issues witht he new version that prevent me to do so, or am I such a noob?

That is the error I am getting:

``* installing source package 'delabj' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
Error : (contertito da avviso) C:/Users/Filippo/AppData/Local/Temp/RtmpYjpHth/R.INSTALL35a453877eb3/delabj/man/operators.Rd: \name should not contain !, | or @
ERROR: installing Rd objects failed for package 'delabj'

  • removing 'C:/Users/Filippo/Documents/R/win-library/4.0/delabj'
    Errore: Failed to install 'delabj' from GitHub:
    (contertito da avviso) installation of package โ€˜C:/Users/Filippo/AppData/Local/Temp/RtmpwJRmsZ/file431cd3e5cbd/delabj_0.1.0.tar.gzโ€™ had non-zero exit status``

Question on using these functions

Hi there,

I saw your post for #TidyTuesday and I was trying to re-run your code from Month 6 I'm curious on how I would go about installing some of your custom functions such as delabj::scale_color_delabj()

When I try running

install_github("delabj/delabj")

I keep getting errors. Sorry for the noob level question. Just really interested in your work.

Cheers

add_conditional filter

Had an idea for a function that wraps dplyr::filter()

This would take a conditional argument to determine if a filter should be applied.

something like this:

cyls_below_8 <- TRUE
filter_if(.data = mtcars, .test = cyls_below_8, cyl < 8)

code would likely look something like this with a check if .test is a logical value

filter_if <- function(.data, .test, ...){
    if(test == FALSE){return(.data)}
    dplyr::filter(.data, ...)
}

Add function for multiple values to NA

Not sure of the name/argument conventions but I don't love that dplyr::na_if() doesn't support multiple values. So a function like this might be helpful

na_if_mulitple <- function(.x, .to_na){
    replace(.x, .x %in% .to_na, NA)
}

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.