issues
search
PolMine
/
dbpedia
R Wrapper for Corpus Annotation with DBpedia Spotlight
3
stars
0
forks
source link
if() conditions comparing class() to string
#33
Closed
ablaette
closed
6 months ago
ablaette
commented
6 months ago
Running tests on GitHub Actions, I see (macOS):
checking R code for possible problems ... [16s/17s] NOTE Found if() conditions comparing class() to string: File ‘dbpedia/R/dbpedia.R’: if (class(nodes) == "xml_nodeset") ... Use inherits() (or maybe is()) instead.
Running tests on GitHub Actions, I see (macOS):