extract_cert_pdf_from_zip: Downloads a ZIP file from the given URL, searches for...

View source: R/utils_download_certs.R

extract_cert_pdf_from_zipR Documentation

Downloads a ZIP file from the given URL, searches for "codecheck.pdf" within its contents, renames it to "cert.pdf," and saves it in the specified directory.

Description

Downloads a ZIP file from the given URL, searches for "codecheck.pdf" within its contents, renames it to "cert.pdf," and saves it in the specified directory.

Usage

extract_cert_pdf_from_zip(zip_download_url, cert_sub_dir)

Arguments

zip_download_url

URL to download the ZIP file from.

cert_sub_dir

Directory to save the extracted certificate PDF.

Value

1 if "codecheck.pdf" is found and saved, otherwise 0.


codecheckers/codecheck documentation built on Dec. 6, 2024, 7:38 p.m.