Open antalk2 opened 3 weeks ago
In .isSingleStringOrNull
https://github.com/Bioconductor/AnnotationForge/blob/007e1ad51972462742b99868cc68e5cad598a5e2/R/makeOrgPackageFromNCBI.R#L811
the test is probably meant to check if x is NULL.
x
NULL
is.atomic(x) && length(x) == 0L &&
is.atomic(NULL) == FALSE
https://stat.ethz.ch/pipermail/r-devel/2023-September/082892.html [Rd] is.atomic(NULL) will become FALSE Martin Maechler Mon Sep 25 17:14:58 CEST 2023
Patch to change this instance: is-atomic-NULL.patch.txt
(There may be other instances)
In .isSingleStringOrNull
https://github.com/Bioconductor/AnnotationForge/blob/007e1ad51972462742b99868cc68e5cad598a5e2/R/makeOrgPackageFromNCBI.R#L811
the test is probably meant to check if
x
isNULL
.is.atomic(x) && length(x) == 0L &&
is not necessaryis.atomic(NULL) == FALSE
now) it is even wrong.Patch to change this instance: is-atomic-NULL.patch.txt
(There may be other instances)