-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Description
I've upgraded roxygen2 to 7.3.3 and running roxygen2::roxygenise() on the Luminescence package (https://github.com/R-Lum/Luminescence) went from 20 seconds to several minutes. At times (strangely enough, not always) I get tons of messages like this:
✖ Luminescence-generics.R:4: @description Could not resolve link to topic
"RLum.Data-class" in the dependencies or base packages.
ℹ If you haven't documented "RLum.Data-class" yet, or just changed its name,
this is normal. Once "RLum.Data-class" is documented, this warning goes
away.
ℹ Make sure that the name of the topic is spelled correctly.
ℹ Always list the linked package as a dependency.
ℹ Alternatively, you can fully qualify the link with a package name.
I think I may be getting one such message for each link to any class or function defined in the package.
This may be similar to what is reported in #1720, but the analysis there doesn't seem to help in my case.
I've run a bisection, and it points to #1633. Indeed, commenting out the call to resolve_link_package() linked below removes the slowdown:
Line 150 in 145e7b4
| if (is.na(pkg)) pkg <- resolve_link_package(obj, thispkg, state = state) |
Metadata
Metadata
Assignees
Labels
No labels