Skip to content

Commit

Permalink
path.expand()
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Oct 22, 2024
1 parent bb68c64 commit 3c31be1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: proffer
Title: Profile R Code and Visualize with 'Pprof'
Version: 0.2.0.9000
Version: 0.2.0.9001
Encoding: UTF-8
Language: en-US
License: MIT + file LICENSE
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# proffer 0.2.0.9000 (development)

# proffer 0.2.0.9001 (development)

* Use `path.expand()` on path to profiling samples.

# proffer 0.2.0

Expand Down
2 changes: 1 addition & 1 deletion R/pprof.R
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ serve_pprof <- function(
verbose = TRUE
) {
server <- sprintf("%s:%s", host, port)
args <- c("-http", server, "-no_browser", pprof)
args <- c("-http", server, "-no_browser", path.expand(pprof))
process <- serve_pprof_impl(args)
if (browse) {
browse_port(host, port, process, verbose)
Expand Down

0 comments on commit 3c31be1

Please sign in to comment.