Change R dep back to 4.0.0 fixes #31
Change R dep back to 4.0.0
fixes #31
A C based JSON parser for R. Released versions can be found at http://cran.r-project.org/web/packages/rjson/index.html
Alex Couture-Beil rjson_pkg@mofo.ca
rjson uses earthly to containerize common development tasks.
To run a comprehensive test, run:
earthly +test
This will run various sub-tests, against multiple versions of R.
To run the unit tests, run:
earthly +unittest
or against a particular version of R, e.g. 4.0.0:
earthly +unittest --R_VERSION=4.0.0
To run rcheck, run:
earthly +rcheck
To create a source rjson_<version>.tar.gz, run:
rjson_<version>.tar.gz
earthly +cran
This will output a compressed source archive under output/.
output/
To run R check with valgrind, in the past I have run:
docker run -v `pwd`:/foo -w /foo -ti -e VALGRIND_OPTS='--leak-check=full --show-reachable=yes' --rm --cap-add SYS_PTRACE rocker/r-devel-ubsan-clang R CMD check --use-valgrind rjson
(This should be moved into the Earthfile to make it easier to run).
R语言中用于JSON数据解析和生成的库
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
rjson
A C based JSON parser for R. Released versions can be found at http://cran.r-project.org/web/packages/rjson/index.html
Alex Couture-Beil rjson_pkg@mofo.ca
Development notes
rjson uses earthly to containerize common development tasks.
test
To run a comprehensive test, run:
This will run various sub-tests, against multiple versions of R.
unit tests
To run the unit tests, run:
or against a particular version of R, e.g. 4.0.0:
rcheck
To run rcheck, run:
Packaging rjson for cran
To create a source
rjson_<version>.tar.gz, run:This will output a compressed source archive under
output/.Non-earthly tasks
To run R check with valgrind, in the past I have run:
(This should be moved into the Earthfile to make it easier to run).