Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGZILLA #16756] Parse data not available in package #6130

Open
MichaelChirico opened this issue May 18, 2020 · 0 comments
Open

[BUGZILLA #16756] Parse data not available in package #6130

MichaelChirico opened this issue May 18, 2020 · 0 comments

Comments

@MichaelChirico
Copy link
Owner

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

  • Bug author - Duncan Murdoch
  • Creation time - 2016-03-10 15:09:11 UTC
  • Bugzilla link
  • Status - NEW
  • Alias - None
  • Component - Low-level
  • Version - R-devel (trunk)
  • Hardware - All All
  • Importance - P5 normal
  • Assignee - R-core
  • URL -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant