You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to reliably obtain parse data via getParseData() for
functions from installed packages. The parse data seems to be available
only for the last file in the package.
See [1] for a small example package with just two functions f and g in
two files a.R and b.R. See [2] for a documented test run on installed
package (Ubuntu 15.10, UTF-8 locale, R 3.2.3). Same behavior with
r-devel (r70303).
The parse data helps reliable coverage analysis [3]. Please advise.
This was reported by Kirill Mueller in R-devel:
I can't seem to reliably obtain parse data via getParseData() for
functions from installed packages. The parse data seems to be available
only for the last file in the package.
See [1] for a small example package with just two functions f and g in
two files a.R and b.R. See [2] for a documented test run on installed
package (Ubuntu 15.10, UTF-8 locale, R 3.2.3). Same behavior with
r-devel (r70303).
The parse data helps reliable coverage analysis [3]. Please advise.
Best regards
Kirill
[1] https://github.com/krlmlr/covr.dummy
[2] http://rpubs.com/krlmlr/getParseData
[3] r-lib/covr#154
I've confirmed this on Windows and will track down.
METADATA
The text was updated successfully, but these errors were encountered: