We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d2e7e commit cbeb7cbCopy full SHA for cbeb7cb
R/spell-check.R
@@ -70,7 +70,7 @@ as_package <- function(pkg){
70
if(inherits(pkg, 'package'))
71
return(pkg)
72
path <- pkg
73
- description <- if(!file.exists(file.path(path, "DESCRIPTION")) && file.exists(file.path(path, "DESCRIPTION.in"))){
+ description <- if(file.exists(file.path(path, "DESCRIPTION.in"))){
74
file.path(path, "DESCRIPTION.in")
75
} else {
76
normalizePath(file.path(path, "DESCRIPTION"), mustWork = TRUE)
0 commit comments