File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export(summary_table)
1515importFrom(grDevices,grSoftVersion)
1616importFrom(htmltools,div)
1717importFrom(methods,is)
18- importFrom(tools,analyze_license)
1918importFrom(tools,check_packages_in_dir_details)
2019importFrom(utils,capture.output)
2120importFrom(utils,getFromNamespace)
Original file line number Diff line number Diff line change 55# ' @details The function analyzes if the license is standard. If it is standard, then it will see if there is available
66# ' information for the footer. The footer information is only the multiple version number for the moment.
77# ' @keywords internal
8- # ' @importFrom tools analyze_license
98# ' @importFrom utils getFromNamespace
109extract_license <- function (assessment ) {
1110 license_output <- list (main = as.character(assessment $ license ))
1211 # We use the internal version so that we can use old R versions analyze_license
1312 if (getRversion() < " 4.4.0" ) {
1413 analyze_license <- utils :: getFromNamespace(" tools" , " analyze_license" ) # nolint
1514 } else {
16- analyze_license <- tools :: analyze_license
15+ analyze_license <- getExportedValue( " tools" , " analyze_license" )
1716 }
1817 license_analysis <- analyze_license(license_output $ main )
1918
You can’t perform that action at this time.
0 commit comments