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 would like to re-open #1144 here, because #1538 seems to be inadequate for the case in the title.
I have created an MWE under https://github.com/hdarjus/badInstall. roxygen2::roxygenize() fails for the package as is (Case 1). However, after renaming NAMESPACE2 to NAMESPACE (Case 2), roxygen2::roxygenize() works even though the imports are technically the same: there are no imports in either cases.
I would like to re-open #1144 here, because #1538 seems to be inadequate for the case in the title.
I have created an MWE under https://github.com/hdarjus/badInstall.
roxygen2::roxygenize()
fails for the package as is (Case 1). However, after renamingNAMESPACE2
toNAMESPACE
(Case 2),roxygen2::roxygenize()
works even though the imports are technically the same: there are no imports in either cases.I believe the issue is
!file.exists(NAMESPACE)
inroxygen2/R/namespace.R
Line 72 in 9652d15
I think something similar to the following modified function could work:
I did not have the time to test it, unfortunately.
The text was updated successfully, but these errors were encountered: