diff --git a/README.Rmd b/README.Rmd index faef515..45fa19c 100644 --- a/README.Rmd +++ b/README.Rmd @@ -55,7 +55,8 @@ if (FALSE) { In most cases it is around 2x to 10x faster than `{jsonlite}` at both reading and writing JSON. It is a wrapper for the [`yyjson`](https://github.com/ibireme/yyjson) C library (v0.9.0 April 8, 2024). -`yysjon` is MIT licensed - see `LICENSE-yyjson.txt` in this package for more details. +`yyjson` is MIT licensed - see `LICENSE-yyjson.txt` in this package for more details - +`readLines(system.file('LICENSE-yyjson.txt', package = 'yyjsonr', mustWork = TRUE))` ### What's in the box diff --git a/README.md b/README.md index 88e4054..f5df9d5 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,9 @@ In most cases it is around 2x to 10x faster than `{jsonlite}` at both reading and writing JSON. It is a wrapper for the [`yyjson`](https://github.com/ibireme/yyjson) C -library (v0.9.0 April 8, 2024). `yysjon` is MIT licensed - see -`LICENSE-yyjson.txt` in this package for more details. +library (v0.9.0 April 8, 2024). `yyjson` is MIT licensed - see +`LICENSE-yyjson.txt` in this package for more details - +`readLines(system.file('LICENSE-yyjson.txt', package = 'yyjsonr', mustWork = TRUE))` ### What’s in the box