Skip to content

Commit

Permalink
prepare for cran
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Apr 18, 2022
1 parent 6154d34 commit 0195ac0
Show file tree
Hide file tree
Showing 3 changed files with 5 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: shinylogs
Title: Record Everything that Happens in a 'Shiny' Application
Version: 0.2.0.9100
Version: 0.2.1
Authors@R: c(person("Fanny", "Meyer", role = "aut"),
person("Victor", "Perrier", email = "[email protected]", role = c("aut", "cre")),
person("Silex Technologies", comment = "https://www.silex-ip.com", role = "fnd"))
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# shinylogs (unreleased)
# shinylogs 0.2.1

* `track_usage()` has new arguments:
+ `app_name`: explicitly set application's name, thanks to [@PaulC91](https://github.com/PaulC91)
+ `what`: elements to record between `"session"`, `"input"`, `"output"` and `"error"`.


# shinylogs 0.2.0

* Timestamp is now recorded in microseconds (fix [#6](https://github.com/dreamRs/shinylogs/issues/6)).
Expand Down
4 changes: 2 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ get_user_ <- function(session) {
if (!is.null(session$user))
return(session$user)
user <- Sys.getenv("SHINYPROXY_USERNAME")
if (user != "") {
if (!identical(user, "")) {
return(user)
} else {
getOption("shinylogs.default_user", default = Sys.info()[['user']])
getOption("shinylogs.default_user", default = Sys.info()[["user"]])
}
}

Expand Down

0 comments on commit 0195ac0

Please sign in to comment.