pfmc-assessments / PacFIN.Utilities

R code to manipulate data from the PacFIN database for assessments
http://pfmc-assessments.github.io/PacFIN.Utilities
Other
7 stars 1 forks source link

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

Open kellijohnson-NOAA opened 1 year ago

kellijohnson-NOAA commented 1 year ago

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):