You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bookmark issue to keep in mind the features we could leverage from the newer R versions in cases we accept to bump the minimum required R version in the future:
R 3.6.0
delayed S3 registration: opens up the possibility of a as.cimg method for rimg objects even though imager is in Suggests
Just a reminder that bumping the minimum R version should also be the opportunity to remove code added to ensure compatibility with older version (e.g., stringAsFactors(), getRversion() branches, etc.)
This is a bookmark issue to keep in mind the features we could leverage from the newer R versions in cases we accept to bump the minimum required R version in the future:
R 3.6.0
as.cimg
method forrimg
objects even though imager is inSuggests
hcl.colors(n, palette = "cividis")
instead ofviridisLite::cividis(n)
(removes the viridisLite dependency): see PR Use new R palette functions to get colours #184R 4.0.0
plot
/plot.default
(it's in base and not in graphics anymore)palette.colors()
function to specify colourblind friendly colour palettes: see PR Use new R palette functions to get colours #184list2DF()
instead ofdo.call(cbind, ...)
R 4.1.0
|>
in examples etc. I like pipes (TW).apply(x, MARGIN, FUN, simplify = FALSE)
instead oflapply(seq_len(nrow/ncol(x)), FUN)
R 4.4.0
val <- val %||% default
, particularly useful to set defaults to arguments, as inpavo/R/segplot.R
Lines 48 to 62 in a3e3986
Feel free to edit this issue to add more items
The text was updated successfully, but these errors were encountered: