-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
When I run document()
orbuild_manual()
, I get the following error:
Error in `package_file()`:
! Could not find package root.
ℹ Is '.' inside a package?
Run `rlang::last_trace()` to see where the error occurred.
> rlang::last_trace()
<error/rlang_error>
Error in `package_file()`:
! Could not find package root.
ℹ Is '.' inside a package?
---
Backtrace:
▆
1. └─devtools::build_manual()
2. └─devtools::as.package(pkg)
3. └─devtools::package_file(path = x)
Run rlang::last_trace(drop = FALSE) to see 2 hidden frames.
My current directory is a root directory of my package, with DESCRIPTION file and everything.
This was working several months ago. Now it doesn't.
I have devtools version 2.4.5 on R 4.4.1.
Metadata
Metadata
Assignees
Labels
No labels