Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit f35e1e3

Browse files
authored
Fixed package strip name (#278)
1 parent b24f20c commit f35e1e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

inst/startup/worker.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,10 @@ for (package in azbatchenv$packages) {
9393
}
9494

9595
for (package in azbatchenv$github) {
96-
library(package, character.only = TRUE)
96+
packageDirectory <- strsplit(package, "/")[[1]]
97+
packageName <- packageDirectory[length(packageDirectory)]
98+
99+
library(packageName, character.only = TRUE)
97100
}
98101

99102
for (package in azbatchenv$bioconductor) {

0 commit comments

Comments
 (0)