英文:
nops_eval giving a error in scan response
问题
I run the following code and get the following error:
> ev1 <- nops_eval(
+ register = "RegFile.csv",
+ solutions = "output/metainfo.rds",
+ scans = "nops/choiceresults.zip",
+ string_scans ="nops_string/results.zip"
+ )
The following students were not registered or incorrectly filled in their registration numbers:
6
Correct registration number (for 0000000, POMT2_W23_005.png): xxxxxxx
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 7 did not have 6 elements
Any idea how I can figure out which file is producing the error?
The scans seem clean and complete with all the crosses visible.
英文:
[![enter image description here][1]][1]I run the following code and get the following error:
> ev1 <- nops_eval(
+ register = "RegFile.csv",
+ solutions = "output/metainfo.rds",
+ scans = "nops/choiceresults.zip",
+ string_scans ="nops_string/results.zip"
+ )
The following students were not registered or incorrectly filled in their registration numbers:
6
Correct registration number (for 0000000, POMT2_W23_005.png): xxxxxxx
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 7 did not have 6 elements
Any idea how I can figure out which file is producing the error?
The scans seem clean and complete with all the crosses visible.
答案1
得分: 1
当出现此错误时,是由于扫描失败以及Daten.txt或Daten2.txt文件中的数据。只需重新扫描相应的文件并重新运行nops_scan。
在运行扫描时,请不要忽略输出中的错误行。这些错误将阻止nops_eval的运行。
英文:
When this error occurs it is due to a failed scan and the data in the Daten.txt or the Daten2.txt file. you just need to rescan the appropriate file and re-run nops_scan.
When you run the scan don't ignore the error lines in the output. Those errors will prevent the nops_eval from running.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论