Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(assets_info): Return assets versions as invisible table #103

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

gadenbuie
Copy link
Contributor

And use message() instead of cat() to make it easier to suppress the printed output.

info <- assets_info()
#> shinylive R package version:  0.1.1.9000
#> shinylive web assets version: 0.4.1.9000
#> 
#> Local cached shinylive asset dir:
#>     /Users/garrick/Library/Caches/shinylive
#> 
#> Installed assets:
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.4.1.9000
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.4.0
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.3.0
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.8
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.7
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.5
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.4
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.3
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.2
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.1
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.2.0
#>     /Users/garrick/Library/Caches/shinylive/shinylive-0.1.2
info
#> # A tibble: 12 × 3
#>    version    path                                             is_assets_version
#>    <chr>      <fs::path>                                       <lgl>            
#>  1 0.4.1.9000 …k/Library/Caches/shinylive/shinylive-0.4.1.9000 TRUE             
#>  2 0.4.0      …arrick/Library/Caches/shinylive/shinylive-0.4.0 FALSE            
#>  3 0.3.0      …arrick/Library/Caches/shinylive/shinylive-0.3.0 FALSE            
#>  4 0.2.8      …arrick/Library/Caches/shinylive/shinylive-0.2.8 FALSE            
#>  5 0.2.7      …arrick/Library/Caches/shinylive/shinylive-0.2.7 FALSE            
#>  6 0.2.5      …arrick/Library/Caches/shinylive/shinylive-0.2.5 FALSE            
#>  7 0.2.4      …arrick/Library/Caches/shinylive/shinylive-0.2.4 FALSE            
#>  8 0.2.3      …arrick/Library/Caches/shinylive/shinylive-0.2.3 FALSE            
#>  9 0.2.2      …arrick/Library/Caches/shinylive/shinylive-0.2.2 FALSE            
#> 10 0.2.1      …arrick/Library/Caches/shinylive/shinylive-0.2.1 FALSE            
#> 11 0.2.0      …arrick/Library/Caches/shinylive/shinylive-0.2.0 FALSE            
#> 12 0.1.2      …arrick/Library/Caches/shinylive/shinylive-0.1.2 FALSE

And use `message()` instead of `cat()` to make it easier to suppress the printed output
@gadenbuie gadenbuie requested a review from schloerke July 1, 2024 19:37
R/assets.R Outdated Show resolved Hide resolved
@gadenbuie gadenbuie merged commit 163059d into main Jul 2, 2024
12 checks passed
@gadenbuie gadenbuie deleted the feat/assets-info-version branch July 2, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants