# NOT RUN {
# download logging package
pkg_fpath <- utils::download.packages("logging",
repos = "https://cloud.r-project.org/",
destdir = tempdir())[1,2]
# build PKGZIP
pkgzip_fpath <- pkgzip_build_package_files(files = pkg_fpath, path = tempdir())
# list content of pkgzip created
unzip(pkgzip_fpath, list = TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab