-
Notifications
You must be signed in to change notification settings - Fork 233
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
Is there a functionality to check if the roxygen declarations are corresponding to the functions? #1660
Comments
|
Thank you so much, that works really well! |
On a second thought, after using it: This function does the job, but not most conveniently. If a package has multiple R scripts, then you have to search through all of them to find where is that function declared and in which lines is the argument declaration missing. Some of the other ℹ Updating PackageTools documentation
Writing [NAMESPACE](google.com)
ℹ Loading PackageTools
✖ [PackageTools.R:30](google.com): @param requires two parts: an argument name and a description.
Writing NAMESPACE Alternatively, some functionality that would automatically place just the empty arguments If anyone knows about such, please let me know. Thank you. |
Also, I spent 2+ hours to make > devtools::check_man("~/GitHub/Packages/Seurat.utils")
ℹ Updating Seurat.utils documentation
ℹ Loading Seurat.utils
ℹ Checking documentation...
Error in gzfile(file, "rb") : cannot open the connection
> rlang::last_trace()
<error/rlang_error>
Error in `package_file()`:
! /GitHub/Packages/Seurat.utils is not a directory.
---
Backtrace:
▆
1. └─devtools::check_man("/GitHub/Packages/Seurat.utils")
2. └─devtools::as.package(pkg)
3. └─devtools::package_file(path = x)
Run rlang::last_trace(drop = FALSE) to see 2 hidden frames. Admittedly, the package is not in the best shape, but that's exactly why I need a robust helper tool for. |
Hey,
thank you for this great package, I use it when I'm writing my own packages.
Is there a functionality to check if the roxygen declarations are corresponding to the functions, in. a long file of many function declarations?
I want to check :
Thank you!
Abel
The text was updated successfully, but these errors were encountered: