Skip to content

Commit 744507c

Browse files
committed
Merge pull request #142 from yixuan/master
Fix output strings
2 parents 5a3089d + 713c18f commit 744507c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/Attributes.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ sourceCpp <- function(file = "",
128128
# examine status
129129
status <- attr(result, "status")
130130
if (!is.null(status)) {
131-
cat(result, "\n")
131+
cat(result, sep = "\n")
132132
succeeded <- FALSE
133133
stop("Error ", status, " occurred building shared library.")
134134
} else if (!file.exists(context$dynlibFilename)) {
135-
cat(result, "\n")
135+
cat(result, sep = "\n")
136136
succeeded <- FALSE
137137
stop("Error occurred building shared library.")
138138
} else {

0 commit comments

Comments
 (0)