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

new is making check() think that the object is a function #99

Open
kellijohnson-NOAA opened this issue Feb 28, 2023 · 0 comments
Open
Assignees
Labels
priority: low The lowest level priority, i.e., not urgent. status: in progress Currently working on this issue topic: code Related to R code within this package type: bug

Comments

@kellijohnson-NOAA
Copy link
Contributor

Describe the bug
I fixed the reference to capture.output but the call to new is just an object. This reminded me that I need to be better about not naming objects the same as standard function names.

To Reproduce
devtools::check()

Expected behavior
NA

Screenshots

  Consider adding
    importFrom("methods", "new")
    importFrom("utils", "capture.output")
  to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
  contains 'methods').

Desktop (please complete the following information):

  • OS: windows
  • Browser: NA
  • Version 0.2.4
@kellijohnson-NOAA kellijohnson-NOAA added type: bug topic: code Related to R code within this package labels Feb 28, 2023
@kellijohnson-NOAA kellijohnson-NOAA self-assigned this Feb 28, 2023
@kellijohnson-NOAA kellijohnson-NOAA added status: in progress Currently working on this issue priority: low The lowest level priority, i.e., not urgent. labels May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The lowest level priority, i.e., not urgent. status: in progress Currently working on this issue topic: code Related to R code within this package type: bug
Projects
None yet
Development

No branches or pull requests

1 participant