Preview Shinylive link contents without decoding to files
preview_shinylive_link.Rd
Decodes a Shinylive URL and returns information about the embedded files without actually saving them to disk. Use print method options to control display.
Examples
if (FALSE) { # \dontrun{
url <- "https://shinylive.io/r/editor/#code=..."
# Create preview object
preview <- preview_shinylive_link(url)
# Default print (no content)
print(preview)
# Show file contents
print(preview, show_content = TRUE)
# Show file contents with custom length limit
print(preview, show_content = TRUE, max_content_length = 200)
# Access the preview data
preview$files_data
preview$total_files
} # }