Re: [R-pkg-devel] Notes from rchk on hdf5r package

2018-10-01 Thread Kevin Ushey
Using this line of code as an example: SEXP hdf5r_ns = PROTECT(eval(lang2(install("getNamespace"), mkString("hdf5r")), R_GlobalEnv)); The issue is fairly nuanced. There are a few main things to note before we can understand the issue: 1. The order of evaluation of arguments in C is unspe

[R-pkg-devel] Notes from rchk on hdf5r package

2018-09-30 Thread Holger Hoefling
Hi all, I have been submitting a bug-fix version of a package and was alerted to some notes that rchk brought up for it. A link to the notes https://raw.githubusercontent.com/kalibera/cran-checks/master/rchk/results/hdf5r.out and to the version of the code the package refers to https://github.