Skip to content

Commit

Permalink
[R-package] removed duplicated code figuring out build_dir in install…
Browse files Browse the repository at this point in the history
….libs.R (#2917)
  • Loading branch information
jameslamb authored Mar 16, 2020
1 parent a78e3ed commit 0d878b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R-package/src/install.libs.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ if (file.exists(src)) {
if (dir.exists(build_dir)) {
print("Removing 'build/' directory")
unlink(
x = file.path(R_PACKAGE_SOURCE, "src", "build")
x = build_dir
, recursive = TRUE
, force = TRUE
)
Expand Down

0 comments on commit 0d878b1

Please sign in to comment.