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
Hi, I have no idea why this happens. I'm posting this here in case it helps someone out.
I have the following code in my package:
#' Test the installed cell binary#' @inheritDotParams systemcell2_test<-function(...){
system(command= paste(cell2_command(), "-h"), ...)
}
Which causes the following error when I run devtools::document():
Error in FUN(X[[i]], ...) : argument "source" is missing, with no default
Replacing system with base::system fixes the problem.
#' Test the installed cell binary#' @inheritDotParams base::systemcell2_test<-function(...){
system(command= paste(cell2_command(), "-h"), ...)
}
The error was cryptic to me. I had to binary-search through my commits with devtools::document() to find the cause. Fortunately the blameful commit did not have many changes.
I'm not sure if this is a bug, but hope that it will be useful to someone at some point.
Thanks for the great software!
The text was updated successfully, but these errors were encountered:
Hi, I have no idea why this happens. I'm posting this here in case it helps someone out.
I have the following code in my package:
Which causes the following error when I run
devtools::document()
:Replacing
system
withbase::system
fixes the problem.The error was cryptic to me. I had to binary-search through my commits with
devtools::document()
to find the cause. Fortunately the blameful commit did not have many changes.I'm not sure if this is a bug, but hope that it will be useful to someone at some point.
Thanks for the great software!
The text was updated successfully, but these errors were encountered: