
Assess an R Package riskmetric with package name and version
assess_pkg_r_package.Rd
This function uses `risk.assessr::assess_pkg` assessment function with only the package name and version
Value
The function returns a list of assessment results generated by the `risk.assessr::assess_pkg` function. If the package cannot be downloaded or installed, an error message is returned.
Details
This function follows these steps:
Downloads the specified R package
Installs the downloaded package in a temporary location.
Runs the `risk.assessr::assess_pkg` function to assess the package for risks and issues.
Returns the results of the assessment.
Examples
if (FALSE) { # \dontrun{
# Example usage of assess_pkg_r_package
results <- assess_pkg_r_package("here", version = "1.0.1")
print(results)
} # }