Skip to content

Commit

Permalink
more whitespace handling for malformed DESCRIPTIONs
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhelmus committed Nov 6, 2024
1 parent a1a7f8c commit db628a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/make_repos.R
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ handlePackages <- function(pkgs)
if (!is.null(md[["pkgroot"]])) paste("RemoteSubdir:", md$pkgroot),
paste("Repository:", getPDRepos())
)

ds <- trimws(ds, "right") # BUG: MS2Quant has some empty Imports listed
ds <- ds[nzchar(ds)] # BUG?: Rdisop seems to have empty newlines (on Windows?) which prevent installation

writeLines(ds, file.path(extrp, "DESCRIPTION"))
Expand Down

0 comments on commit db628a4

Please sign in to comment.