Re: [R-pkg-devel] Trouble with dependencies on phyloseq and microViz

2024-05-06 Thread Simon Urbanek
> On 5/05/2024, at 4:32 AM, Ivan Krylov via R-package-devel > wrote: > > В Sat, 4 May 2024 15:53:25 + > Sharon Bewick пишет: > >> I have a dependency on phyloseq, which is available through GitHub >> but not on the CRAN site. I have a similar problem with microViz, >> however I’ve

Re: [R-pkg-devel] Error handling in C code

2024-05-06 Thread Jarrod Hadfield
Hi, Using Rf_error() rather than error() fixed the problem. Not sure why the problem was only flagged on Debian, but it seems to have been triggered by R_NO_REMAP being defined (which will be default in R 4.5.0). Thanks for the help. Jarrod From: Simon Urbanek Date: Monday, 6 May 2024 at

[Rd] lmer error: number of observations <= number of random effects

2024-05-06 Thread Srinidhi Jayakumar via R-devel
I am running a multilevel growth curve model to examine predictors of social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a continuous numeric variable. The age variable (Index1) has been coded as 0 for age 12, 1 for age 15 and 2 for age 18. I am currently using a time varying

Re: [Rd] [R-sig-ME] lmer error: number of observations <= number of random effects

2024-05-06 Thread Thierry Onkelinx via R-devel
Dear Srinidhi, You are trying to fit 1 random intercept and 2 random slopes per individual, while you have at most 3 observations per individual. You simply don't have enough data to fit the random slopes. Reduce the random part to (1|ID). Best regards, Thierry ir. Thierry Onkelinx Statisticus