但是,此验证也接受浮点数/双精度数。但是,如果我将@Assert\Type(type="numeric")更改为@Assert\Type(type="integer"),则没有任何输入被验证为真。另一个问题是,在输入一个明显无效的值(如字母串)后,我不仅收到了类型验证的德语错误消息,还收到了英文消息'This value like be a valid number‘。这条消息是从哪里来的,我怎样才能摆脱它?
‘i’是无效的列名:改为使用‘(其他值名称)’ 我以为mytable函数不能识别宏对象i。在这篇文章(object not found in summarise with macro(function) in r)的帮助下,我在i两边加上了双括号。 但是这个错误又出现了。Error in which(grepl(pattern, x, ignore.case = TRUE)) :
argument to 'which' is not logical 请告诉我问题出在哪里