We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43f4bf commit ea377a9Copy full SHA for ea377a9
src/xml2_url.cpp
@@ -8,7 +8,7 @@
8
#include "xml2_utils.h"
9
10
const xmlChar* to_xml_chr(cpp11::strings x, const char* arg) {
11
- if (x.size() > 1) {
+ if (x.size() != 1) {
12
cpp11::stop("%s must be a character vector of length 1", arg);
13
}
14
0 commit comments