style: apply air and prettier formatting repo-wide
This commit is contained in:
parent
cf851c1c30
commit
251bba8f23
1 changed files with 555 additions and 259 deletions
|
|
@ -37,10 +37,13 @@ future.apply::future_lapply(
|
|||
files <- s3fs::s3_dir_ls(
|
||||
sprintf(
|
||||
"devxy-r-package-binaries-hel1/%s/%s/latest/src/contrib",
|
||||
arch, codename
|
||||
arch,
|
||||
codename
|
||||
)
|
||||
)
|
||||
if (length(files) == 0) return(NULL)
|
||||
if (length(files) == 0) {
|
||||
return(NULL)
|
||||
}
|
||||
files_b <- basename(files)
|
||||
pkg_names <- sapply(strsplit(files_b, "_"), `[`, 1)
|
||||
dupes <- unique(pkg_names[duplicated(pkg_names)])
|
||||
|
|
|
|||
Loading…
Reference in a new issue