Code Monkey home page Code Monkey logo

jwileymisc's People

Contributors

jwiley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jwileymisc's Issues

lsmeans is being deprecated

I note that JWileymisc imports the lsmeans package. However, lsmeans is about to be deprecated. The newer package emmeans replaces it and works in much the same way. There are vignettes and utilities to convert lsmeans scripts and workspaces.

I suggest that you update to emmeans as soon as possible, This is made perhaps more urgent by the fact that I received a message that lsmeans is failing some tests due to increased stringency in the tests regarding the use of Suggests packages. Until I saw that a new package imports lsmeans, I was prepared to answer that this would be a good time to formally deprecate lsmeans, rather than fix the package to pass the tests.

issue with testthat test-distributions.R - line 67

Hi,
This came up during revdep checks for lavaan. In the test-distributions.R file (in tests/testthat), you now have (lines 65-67)

x <- as.data.frame(scale(mtcars[, 1:3]))
x[1, 1] <- NA
expect_warning(m <- testDistribution(x, distr = "mvnormal", use = "fiml"))

However, the last expression runs without producing a warning, and therefore, this 'test' fails, as it was expecting a warning. Could you please adapt this line, and update JWileymisc on CRAN? (It would otherwise prevent lavaan from being updated).
Thanks,
Yves.

could not find function "testdistr"

Hi,

I'm trying to reproduce your code from your book:

set.seed(1234)
d2 <- data.table(x = rnorm(500))
d2[, y := ifelse(abs(x) > 1, x, -x)]
plot_grid(
testdistr(d2$x, plot = FALSE)$Density,
testdistr(d2$y, plot = FALSE, varlab = "Y")$Density,
ncol = 2)

By which I got an error:

could not find function "testdistr"

I have installed and attached the "JWileymisc" package and all the other packages.
I'm wondering whether that's because I couldn't install those updates:

Rcpp 1.0.4.6 1.0.5
processx 3.4.2 3.4.3
mnormt 2.0.0 2.0.1
nloptr 1.2.2.1 1.2.2.2

My R version is 4.0.2. Do you have any suggestions for that?

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.