bartCause icon indicating copy to clipboard operation
bartCause copied to clipboard

Change Depends to R >= 4.1

Open krz opened this issue 3 years ago • 2 comments

I was unable to install this package on my R 4.0.4 machine and tracked the issue down to line 424 in generics.R file: try_result <- tryCatch(subset <- rep_len(TRUE, dim(result)[length(dim(result))]), error = \(e) e)

\(e) e is a new anonymous function introduced in R 4.1, so either the Depends requirements in DESCRIPTION should be updated or the usage of this new syntax should be avoided (for now). I would opt for changing to old-style functions as 4.1 is still relatively new.

krz avatar Feb 01 '22 09:02 krz

Thanks for pointing that out. I've changed it back to use the old syntax, but will have to test that it works on R 4.0 more comprehensively.

vdorie avatar Feb 01 '22 16:02 vdorie

thanks, installation from github now works for me.

krz avatar Feb 03 '22 16:02 krz