Skip to content

Commit

Permalink
Set mustWork = TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Apr 12, 2024
1 parent 58aeca4 commit 636d767
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/getPackageLicences.R
Expand Up @@ -21,7 +21,10 @@ getPackageLicences <- function(packages)
# readDescription --------------------------------------------------------------
readDescription <- function(package)
{
description <- read.dcf(system.file("DESCRIPTION", package = package))
description <- "DESCRIPTION" %>%
system.file(package = package, mustWork = TRUE) %>%
read.dcf()

colnames(description) <- tolower(colnames(description))
description
}

0 comments on commit 636d767

Please sign in to comment.