Skip to content

Commit 20d6042

Browse files
committedApr 15, 2021
copy 'symbols.rds' to right dest
1 parent e2130b2 commit 20d6042

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/install.libs.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
dir.create(dest, recursive = TRUE, showWarnings = FALSE)
99
file.copy(files, dest, overwrite = TRUE)
1010

11+
# copy symbols if available
12+
if (file.exists("symbols.rds"))
13+
file.copy("symbols.rds", dest, overwrite = TRUE)
14+
1115
# also copy to package 'libs' folder, for devtools
1216
dest <- paste0("../libs", R_ARCH)
1317
dir.create(dest, recursive = TRUE, showWarnings = FALSE)
1418
file.copy(files, dest, overwrite = TRUE)
1519

16-
# copy symbols if available
17-
if (file.exists("symbols.rds"))
18-
file.copy("symbols.rds", dest, overwrite = TRUE)
19-
2020
# copy tbb
2121
# TODO: use 'dest' library directory once rstan is updated
2222
tbbDest <- paste0("../inst/lib", R_ARCH)

0 commit comments

Comments
 (0)