Git Product home page Git Product logo

nima's Introduction

hello, i'm Nima

I'm an academic (bio)statistician working at the interface of causal inference, machine learning, and non- and semi-parametric statistics. I'm passionate about building open-source software tools to improve the accessibility of modern, model-agnostic and assumption-lean methods for statistical inference and causal machine learning, and I'm especially excited by the applications of statistics to the biomedical and public health sciences.

Are you looking for open source software for targeted causal machine learning? Maybe you should check out the tlverse project and browse our free open-source handbook!

Nima's github stats

nima's People

Contributors

ekatko1 avatar nhejazi avatar

Watchers

 avatar  avatar

nima's Issues

unit tests broken in R-devel

Recent bug fixes in the development version of R, "R-devel",
(see the short thread starting here:
https://stat.ethz.ch/pipermail/r-devel/2018-March/075644.html )
have lead you package to no longer pass 'R CMD check' with
that version of R-devel:

https://www.r-project.org/web/checks/check_results_nima.html

In this case, the reason is a too strict test, you not only
check that the attributes (of a certain data frame) are correct,
but you wrongly also check that the list which
attributes() returns has the attributes in a given order.

Instead please fix your check e.g., to use identical() if
appropriate, because even identical() with its default argument
'attr.as.set = TRUE' does not distinguish objects where only the
attributes are re-ordered.

CRAN re-submission issues

As per email conversation with CRAN maintainers:

Package has a VignetteBuilder field but no prebuilt vignette index.

Please replace \dontrun{} by \donttest{} or unwap the examples if they can be executed in less than 5 sec per Rd-file.

Please fix and resubmit.

Matrix inheritance issue in R 4.0.0

Dear maintainer,

Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_nima.html.

Specifically, see the problems shown for the r-devel Debian checks.

These can be reproduced by checking with --as-cran using current
r-devel, which for now sets

R_CLASS_MATRIX_ARRAY=true

in the check environment, to the effect that

R> class(matrix(1 : 4, 2, 2))
[1] "matrix" "array"

(and no longer just "matrix" as before).

According to the R NEWS file,

For now only active when environment variable R_CLASS_MATRIX_ARRAY
is set to non-empty, but planned to be the new unconditional behavior
when R 4.0.0 is released:

matrix objects now also inherit from class "array", namely, e.g.,
class(diag(1)) is c("matrix", "array") which invalidates code
assuming that length(class(obj)) == 1, an incorrect assumption that
is less frequently fulfilled now.

S3 methods for "array", i.e., .array(), are now also
dispatched for matrix objects.

Apparently your package no longer works correctly when
class(matrix(...)) gives a vector of length two: please fix as
necessary.

See
https://developer.r-project.org/Blog/public/2019/11/09/when-you-think-class.-think-again/index.html
for more information about correctly using class() in package code.

Please correct before 2019-12-18 to safely retain your package on CRAN.

broken test: names of attributes of data.frame

As reported by CRAN:

Check Details

Version: 0.4.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(nima)
     nima: Nima Hejazi's R Toolbox
     Version: 0.4.5
     >
     > test_check("nima")
     ── 1. Failure: attrnames finds the names of the attributes of a data frame (@tes
     attrnames(y) not equal to c("names", "row.names", "class").
     2/3 mismatches
     x[2]: "class"
     y[2]: "row.names"
    
     x[3]: "row.names"
     y[3]: "class"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 21 SKIPPED: 0 FAILED: 1
     1. Failure: attrnames finds the names of the attributes of a data frame (@test-attribute_names.R#15)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang 

hex sticker

hexSticker is an R package facilitating the creation of hex stickers from within R. It would be nice to create such a sticker (perhaps using the sketch generously provided by GL?) and include it within the package README.md by generating a README.Rmd file for use with devtools.

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.