1

演習用の .Rmd ファイルを作成し、関数と一緒に多数のファイルを含めると問題が発生しround()ます。最小限の例を次に示します。

```{r data generation, echo = FALSE, results = "hide"}
Value = 12000.555
```

Question
========
temp

Meta-information
================
exname: temp
extype: num
exsolution: `r round(Value, 2)`
extol: 0.01

この演習を試験にコンパイルしようとするとexams2pdf()、次のエラーが発生します。

exams2pdf("example.Rmd")
## Warning message: In read_metainfo(file) : NAs introduced by coercion

何故ですか?R/exams バージョン 2.3-6 と R バージョン 3.6.3 を使用しています。

4

1 に答える 1