Skip to content

Commit

Permalink
Update URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Sep 17, 2024
1 parent 01bdaa1 commit 0b6cb5f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ profvis 0.3.8
profvis 0.3.7
=============

* Resolved [#102](https://github.com/rstudio/profvis/issues/102):" Added `simplify` argument. When `TRUE` (the default), the profiles are simplified using the new `filter.callframes` argument of R 4.0. This argument has no effect on older R versions. ([#118](https://github.com/rstudio/profvis/pull/118))
* Resolved [#102](https://github.com/r-lib/profvis/issues/102):" Added `simplify` argument. When `TRUE` (the default), the profiles are simplified using the new `filter.callframes` argument of R 4.0. This argument has no effect on older R versions. ([#118](https://github.com/r-lib/profvis/pull/118))

* Fixed [#111](https://github.com/rstudio/profvis/issues/111): auto-scrolling to lines of code did not work in some browsers. ([#113](https://github.com/rstudio/profvis/pull/113))
* Fixed [#111](https://github.com/r-lib/profvis/issues/111): auto-scrolling to lines of code did not work in some browsers. ([#113](https://github.com/r-lib/profvis/pull/113))

profvis 0.3.6
=============
Expand All @@ -48,24 +48,24 @@ profvis 0.3.5
profvis 0.3.4
=============

* Fixed [#77](https://github.com/rstudio/profvis/issues/77): The contents of `<expr>` are now always listed first.
* Fixed [#77](https://github.com/r-lib/profvis/issues/77): The contents of `<expr>` are now always listed first.

* Addressed [#85](https://github.com/rstudio/profvis/issues/85): The `pause()` function is now implemented in C, which reduces the amount of data generated.
* Addressed [#85](https://github.com/r-lib/profvis/issues/85): The `pause()` function is now implemented in C, which reduces the amount of data generated.

* Fixed [#86](https://github.com/rstudio/profvis/issues/86): In the data pane, toggling between horizontal/vertical view caused the flame graph to render on top of the tree view.
* Fixed [#86](https://github.com/r-lib/profvis/issues/86): In the data pane, toggling between horizontal/vertical view caused the flame graph to render on top of the tree view.

* Fixed [#84](https://github.com/rstudio/profvis/issues/84): In the data pane, leaf nodes (representing top-most calls on the stack) were not displayed.
* Fixed [#84](https://github.com/r-lib/profvis/issues/84): In the data pane, leaf nodes (representing top-most calls on the stack) were not displayed.

* Addressed [#82](https://github.com/rstudio/profvis/issues/82): In the data pane, if a node has exactly one child, that child will automatically be expanded. This makes it more efficient to explore the data. ([#83](https://github.com/rstudio/profvis/pull/83))
* Addressed [#82](https://github.com/r-lib/profvis/issues/82): In the data pane, if a node has exactly one child, that child will automatically be expanded. This makes it more efficient to explore the data. ([#83](https://github.com/r-lib/profvis/pull/83))

* Fixed [#50](https://github.com/rstudio/profvis/issues/50): In the data pane, function calls were shown in reverse order.
* Fixed [#50](https://github.com/r-lib/profvis/issues/50): In the data pane, function calls were shown in reverse order.


profvis 0.3.3
=============

* Fixed [#68](https://github.com/rstudio/profvis/issues/68): profvis threw an error when a package was installed using `devtools::install_github(args = "--with-keep.source")`.
* Fixed [#68](https://github.com/r-lib/profvis/issues/68): profvis threw an error when a package was installed using `devtools::install_github(args = "--with-keep.source")`.

* Fix bug where, when loading a profile that didn't contain memory data, profvis would throw an error. [#66](https://github.com/rstudio/profvis/pull/66)
* Fix bug where, when loading a profile that didn't contain memory data, profvis would throw an error. [#66](https://github.com/r-lib/profvis/pull/66)

* Fixed [#73](https://github.com/rstudio/profvis/issues/73): profvis would throw an error if used on code sourced from a remote URL.
* Fixed [#73](https://github.com/r-lib/profvis/issues/73): profvis would throw an error if used on code sourced from a remote URL.
2 changes: 1 addition & 1 deletion R/file_contents.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fetch_cached <- function(filename, srcfile_cache) {
# Exit if file doesn't exist locally. In some cases (e.g. a URL like
# "http://xyz.com/" ) the `file()` call below can return a filehandle even
# when the file is not local, and then it will error when `readChar()` is
# called on the file. See https://github.com/rstudio/profvis/issues/73
# called on the file. See https://github.com/r-lib/profvis/issues/73
if (!file.exists(filename))
return(NULL)

Expand Down
2 changes: 1 addition & 1 deletion R/profvis.R
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ profvis <- function(expr = NULL,
# have "<text>". This value is used by the profiler as the filename listed
# in the profiler output. We need to do this to distinguish code that was
# run in the profvis({}) code block from code that was run outside of it.
# See https://github.com/rstudio/profvis/issues/57
# See https://github.com/r-lib/profvis/issues/57
attr(expr_q, "srcfile")$filename <- "<expr>"

# Keep original expression source code
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ profvis

<!-- badges: start -->
[![R-CMD-check](https://github.com/r-lib/profvis/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-lib/profvis/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/r-lib/profvis/graph/badge.svg)](https://codecov.io/gh/r-lib/profvis)
[![Codecov test coverage](https://codecov.io/gh/r-lib/profvis/graph/badge.svg)](https://app.codecov.io/gh/r-lib/profvis)
<!-- badges: end -->

profvis is a tool for visualizing code profiling data from R. It creates a web page which provides a graphical interface for exploring the data.
Expand Down
2 changes: 1 addition & 1 deletion vignettes/articles/faq.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ p <- profvis({
htmlwidgets::saveWidget(p, "profile.html")
```

It's also possible to put a profvis visualization in a knitr document. At this time, some CSS workarounds are needed needed for them to display properly. You can look at the source of [this website](https://github.com/rstudio/profvis/tree/gh-pages/) to see the workarounds.
It's also possible to put a profvis visualization in a knitr document. At this time, some CSS workarounds are needed needed for them to display properly. You can look at the source of [this website](https://github.com/r-lib/profvis/tree/gh-pages/) to see the workarounds.


## What does `<Anonymous>` mean?
Expand Down
2 changes: 1 addition & 1 deletion vignettes/profvis.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ registerS3method("knit_print", "htmlwidget", function(x, ...) {

## Introduction

[profvis](https://github.com/rstudio/profvis) is a tool for helping you to understand how R spends its time. It provides a interactive graphical interface for visualizing data from `Rprof()`, R's built-in tool for collecting profiling data.
[profvis](https://github.com/r-lib/profvis) is a tool for helping you to understand how R spends its time. It provides a interactive graphical interface for visualizing data from `Rprof()`, R's built-in tool for collecting profiling data.

Most R users have had times where we've wanted our code to run faster. However, it's not always clear how to accomplish this. A common approach is to rely on intuition, and on wisdom from the broader R community about speeding up R code. One drawback to this is it can lead to a focus on optimizing things that actually take a small proportion of the overall running time.

Expand Down

0 comments on commit 0b6cb5f

Please sign in to comment.