diff --git a/packages/webr/DESCRIPTION b/packages/webr/DESCRIPTION index 27f09915..6c04022d 100644 --- a/packages/webr/DESCRIPTION +++ b/packages/webr/DESCRIPTION @@ -14,6 +14,7 @@ URL: https://github.com/r-wasm/webr BugReports: https://github.com/r-wasm/webr/issues Imports: utils +Config/usethis/last-upkeep: 2024-10-25 Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) diff --git a/packages/webr/LICENSE b/packages/webr/LICENSE index a5f09cd4..88d3bad0 100644 --- a/packages/webr/LICENSE +++ b/packages/webr/LICENSE @@ -1,2 +1,2 @@ -YEAR: 2023 +YEAR: 2024 COPYRIGHT HOLDER: webr authors diff --git a/packages/webr/LICENSE.md b/packages/webr/LICENSE.md index 3a5566c9..ec151b77 100644 --- a/packages/webr/LICENSE.md +++ b/packages/webr/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2023 webr authors +Copyright (c) 2024 webr authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/webr/R/install.R b/packages/webr/R/install.R index e9a9a7eb..5cfc087e 100644 --- a/packages/webr/R/install.R +++ b/packages/webr/R/install.R @@ -68,12 +68,15 @@ install <- function(packages, if (mount) { # Try mounting `.tgz` as v2.0 VFS image, fallback to extracting the .tgz - tryCatch({ - install_vfs_image(repo, lib, pkg, pkg_ver) - next - }, error = function(cnd) { - warning(paste(cnd$message, "Falling back to traditional `.tgz` extraction.")) - }) + tryCatch( + { + install_vfs_image(repo, lib, pkg, pkg_ver) + next + }, + error = function(cnd) { + warning(paste(cnd$message, "Falling back to traditional `.tgz` extraction.")) + } + ) } install_tgz(repo, lib, pkg, pkg_ver) diff --git a/packages/webr/R/webr-package.R b/packages/webr/R/webr-package.R new file mode 100644 index 00000000..a65cf643 --- /dev/null +++ b/packages/webr/R/webr-package.R @@ -0,0 +1,6 @@ +#' @keywords internal +"_PACKAGE" + +## usethis namespace: start +## usethis namespace: end +NULL