Skip to content

Commit

Permalink
Merge pull request #80 from leoschwarz/update-dll-install
Browse files Browse the repository at this point in the history
Only delete dll files
  • Loading branch information
cpanse authored Oct 22, 2024
2 parents 0d689e9 + ecb998b commit 484f00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dotNetAssembly.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ installRawFileReaderDLLs <-
rawfileReaderDLLsPath <- rawrrAssemblyPath()

if (isTRUE(dir.exists(rawfileReaderDLLsPath))){
msg <- sprintf("removing files in directory '%s'", rawfileReaderDLLsPath)
msg <- sprintf("removing DLL files in directory '%s'", rawfileReaderDLLsPath)
message(msg)

file.remove(file.path(rawrrAssemblyPath(),
list.files(rawrrAssemblyPath())))
list.files(rawrrAssemblyPath(), pattern="\\.dll$")))
}

if (isFALSE(dir.exists(rawfileReaderDLLsPath))){
Expand Down

0 comments on commit 484f00f

Please sign in to comment.