Description
A reliable and validated tool that captures detailed risk metrics such as R 'CMD' check, test coverage, traceability matrix, documentation, dependencies, reverse dependencies, suggested dependency analysis, repository data, and enhanced reporting for R packages that are local or stored on remote repositories such as GitHub, CRAN, and Bioconductor.
Downloads
388
Last 30 days
8545th
388
Last 90 days
388
Last year
CRAN Check Status
1
ERROR
1
NOTE
12
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | ERROR |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
OK
r-devel-linux-x86_64-debian-clang
*
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘testthat.R’ [38s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # setting R_TESTS to empty string because of
> # https://github.com/hadley/testthat/issues/144
> # and https://github.com/r-lib/testthat/issues/86
> # revert this when that issue in R is fixed.
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(mockery)
> library(risk.assessr)
> library(withr)
> library(dplyr)
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
> library(jsonlite)
> library(fs)
> library(curl)
Using libcurl 8.18.0 with OpenSSL/3.5.5
> library(xml2)
>
> test_check("risk.assessr")
An error occurred in checking suggested functions: no 'restart' 'muffleError' found
Checking for author in mockpkg
Checking for License in mockpkg
Checking host package
NO INTERNAL_RSPM FOUND
Checking GitHub data for NA/mockpkg...
Owner is NA or empty. Returning empty response.
Using package's default risk definition.
No testthat or testit configuration
Checking for author in mockpkg
Checking for License in mockpkg
Checking host package
NO INTERNAL_RSPM FOUND
Checking GitHub data for NA/mockpkg...
Owner is NA or empty. Returning empty response.
Using package's default risk definition.
Checking SomePkg on CRAN...
Checking SomePkg on Bioconductor...
unpacking fallback locally
unpacked fallback locally
Checking Biobase on CRAN...
Checking Biobase on Bioconductor...
unpacking fake locally
unpacked fake locally
Checking InternalPkg on CRAN...
Checking InternalPkg on Bioconductor...
No InternalPkg package found on Bioconductor
Attempting internal fallback download for InternalPkg
unpacking internal locally
unpacked internal locally
Checking GhostPkg on CRAN...
Checking GhostPkg on Bioconductor...
No GhostPkg package found on Bioconductor
Attempting internal fallback download for GhostPkg
NO INTERNAL_RSPM FOUND
Checking GhostPkg on CRAN...
Checking GhostPkg on Bioconductor...
No GhostPkg package found on Bioconductor
Attempting internal fallback download for GhostPkg
NO INTERNAL_RSPM FOUND
Failed to download the package from any source. Error: Failed to find the package URL from the internal repository.FALSE
Checking ggplot2 on CRAN...
unpacking cran locally
unpacked cran locally
Checking nonexistentpkg on CRAN...
Checking nonexistentpkg on Bioconductor...
No nonexistentpkg package found on Bioconductor
Attempting internal fallback download for nonexistentpkg
NO INTERNAL_RSPM FOUND
Checking nonexistentpkg on CRAN...
Checking nonexistentpkg on Bioconductor...
No nonexistentpkg package found on Bioconductor
Attempting internal fallback download for nonexistentpkg
NO INTERNAL_RSPM FOUND
Failed to download the package from any source. Error: Failed to find the package URL from the internal repository.FALSE
Invalid 'which' value. Must be one or more of: Depends, Imports, LinkingTo, Suggests, Enhances or 'all'.
No forbidden notes for mockpkg
No forbidden notes for mockpkg
unpacking file4dbe0720581ad.tar.gz locally
unpacked file4dbe0720581ad.tar.gz locally
installing test.package.0009 locally
test.package.0009 installed locally
Extracting exported function names for test.package.0009
Extracting exported function bodies for test.package.0009
unpacking file4dbe07adc6205.tar.gz locally
unpacked file4dbe07adc6205.tar.gz locally
installing test.package.0009 locally
test.package.0009 is already installed
Extracting exported function names for test.package.0009
Extracting exported function bodies for test.package.0009
unpacking file4dbe0305b6171.tar.gz locally
unpacked file4dbe0305b6171.tar.gz locally
installing test.package.0010 locally
test.package.0010 installed locally
Extracting exported function names for test.package.0010
Extracting exported function bodies for test.package.0010
unpacking file4dbe077bf98d6.tar.gz locally
unpacked file4dbe077bf98d6.tar.gz locally
installing test.package.0005 locally
test.package.0005 installed locally
Extracting exported function names for test.package.0005
No exported functions from source package test.package.0005
No exported functions from Suggested packages in the DESCRIPTION file
unpacking file4dbe0395923ca.tar.gz locally
unpacked file4dbe0395923ca.tar.gz locally
installing test.package.0006 locally
test.package.0006 installed locally
No R folder found in the package source path
No Suggested packages in the DESCRIPTION file
No Imports or Suggested packages in the DESCRIPTION file
gzip: stdin: not in gzip format
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now
traceability matrix for unsuccessful
[1] "No sourceable R scripts were found in the R/ directory for package dummy_path. Make sure this was expected.\n"
No top level assignments found in R folder for path
The following exports were not found in R/ for path:
function2
generic1
In package `path`, the R scripts (NA) are missing documentation for the following exports:
function2
generic1
traceability matrix for testpkg unsuccessful
defunct functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
imported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
rexported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
experimental functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
high risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
medium risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
imported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
rexported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
experimental functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
high risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
medium risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
defunct functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
rexported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
experimental functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
high risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
medium risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
defunct functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
imported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
experimental functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
high risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
medium risk coverage traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
defunct functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
imported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
rexported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
defunct functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
imported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
rexported functions traceability matrix for testpkg not generated
traceability matrix for testpkg unsuccessful
experimental functions traceability matrix for testpkg not generated
creating traceability matrix for mockpkg
creating traceability matrices for mockpkg without test coverage
creating traceability matrix for mockPkg
the execute_coverage parameter = TRUE but the 'function_coverage' object for mockPkg is NULL or non compliant
creating traceability matrices for mockPkg with test coverage
traceability matrices for mockPkg successful
creating traceability matrix for mockPkg
the execute_coverage parameter = TRUE but the 'function_coverage' object for mockPkg is NULL or non compliant
creating traceability matrices for mockPkg with test coverage
traceability matrices for mockPkg successful
Error:
Dependency tree in progress for pkgA package
Dependency tree in progress for pkgB package
Dependency tree in progress for pkgD package
Finished building for pkgD
Finished building for pkgB
Dependency tree in progress for pkgC package
Finished building for pkgC
Finished building for pkgA
Finished building for testpkg
Dependency tree in progress for testpkg package
Dependency tree in progress for pkgA package
Dependency tree in progress for pkgB package
Dependency tree in progress for pkgD package
Finished building for pkgD
Finished building for pkgB
Dependency tree in progress for pkgC package
Finished building for pkgC
Finished building for pkgA
Dependency tree in progress for pkgC package
Finished building for pkgC
Dependency tree in progress for pkgE package
Dependency tree in progress for pkgF package
Dependency tree in progress for pkgG package
Finished building for pkgG
Finished building for pkgF
Finished building for pkgE
Dependency tree in progress for unknownPkg package
Finished building for unknownPkg
Dependency tree in progress for basePkg package
Finished building for basePkg
Building dependency tree for: ggplot2
unpacking stringr locally
unpacked stringr locally
Some exported functions are missing help files in stringr
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a website
stringr has a source control
stringr has vignettes
stringr has examples
stringr has news
stringr has current news
Checking for author in test
Checking for author in test
Checking for author in mockpkg
Checking for author in test
Checking for author in test
unpacking here locally
unpacked here locally
Checking for License in here
unpacking file4dbe064cebf25.tar.gz locally
unpacked file4dbe064cebf25.tar.gz locally
Checking for License in test.package.0001
unpacking file4dbe07413d790.tar.gz locally
unpacked file4dbe07413d790.tar.gz locally
Checking for License in test.package.0007
unpacking stringr locally
unpacked stringr locally
stringr has a maintainer
stringr has a website
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a website
stringr has bug reports URL
stringr has a website
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a website
stringr has a source control
unpacking file4dbe065df127f.tar.gz locally
unpacked file4dbe065df127f.tar.gz locally
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have bug reports URL
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
mockpkg has bug reports URL
mockpkg has a website
mockpkg has a website
mockpkg does not have a source control
Checking for author in limma
Checking for author in limma
unpacking stringr locally
unpacked stringr locally
stringr has a maintainer
stringr has a website
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a website
stringr has bug reports URL
stringr has a website
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a source control
stringr has bug reports URL
stringr has a maintainer
stringr has a website
stringr has a website
stringr has a source control
unpacking file4dbe075935fd6.tar.gz locally
unpacked file4dbe075935fd6.tar.gz locally
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have bug reports URL
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a source control
test.package.0007 does not have bug reports URL
test.package.0007 has a maintainer
test.package.0007 does not have a website
test.package.0007 does not have a website
test.package.0007 does not have a source control
Checking for author in limma
Checking for author in limma
unpacking here locally
unpacked here locally
unpacking file4dbe054eea80e.tar.gz locally
unpacked file4dbe054eea80e.tar.gz locally
unpacking here locally
unpacked here locally
here has examples
unpacking file4dbe0152c9f5f.tar.gz locally
unpacked file4dbe0152c9f5f.tar.gz locally
test.package.0001 has no examples
unpacking here locally
unpacked here locally
All exported functions have corresponding help files in here
unpacking stringr locally
unpacked stringr locally
Some exported functions are missing help files in stringr
unpacking file4dbe023e0a0be.tar.gz locally
unpacked file4dbe023e0a0be.tar.gz locally
installing test.package.0006 locally
test.package.0006 is already installed
No exported functions in test.package.0006
unpacking here locally
unpacked here locally
here has news
unpacking file4dbe05c9e49bb.tar.gz locally
unpacked file4dbe05c9e49bb.tar.gz locally
test.package.0001 has no news
unpacking here locally
unpacked here locally
here has current news
unpacking file4dbe054694b2d.tar.gz locally
unpacked file4dbe054694b2d.tar.gz locally
test.package.0001 has no news path
test.package.0001 has no current news
test.package.0001 has no news path
test.package.0001 has no current news
unpacking here locally
unpacked here locally
here has vignettes
unpacking file4dbe0509f887f.tar.gz locally
unpacked file4dbe0509f887f.tar.gz locally
Saving _problems/test-documentation_metrics-1756.R
unpacking file4dbe07e510a08.tar.gz locally
unpacked file4dbe07e510a08.tar.gz locally
unpacking stringr locally
unpacked stringr locally
Using package's default risk definition.
Checking stringr on CRAN...
Checking SomePkg on CRAN...
CRAN download failed: CRAN download failed due to timeout
Checking SomePkg on Bioconductor...
Checking Biobase on CRAN...
Checking Biobase on Bioconductor...
Checking InternalPkg on CRAN...
Checking InternalPkg on Bioconductor...
No InternalPkg package found on Bioconductor
Attempting internal fallback download for InternalPkg
Checking GhostPkg on CRAN...
Checking GhostPkg on Bioconductor...
No GhostPkg package found on Bioconductor
Attempting internal fallback download for GhostPkg
Checking GhostPkg on CRAN...
Checking GhostPkg on Bioconductor...
No GhostPkg package found on Bioconductor
Attempting internal fallback download for GhostPkg
Failed to download the package from any source. Error: couldn't find package 'GhostPkg'FALSE
Checking ggplot2 on CRAN...
Checking nonexistentpkg on CRAN...
Checking nonexistentpkg on Bioconductor...
No nonexistentpkg package found on Bioconductor
Attempting internal fallback download for nonexistentpkg
Checking nonexistentpkg on CRAN...
Checking nonexistentpkg on Bioconductor...
No nonexistentpkg package found on Bioconductor
Attempting internal fallback download for nonexistentpkg
Failed to download the package from any source. Error: all fallback failedFALSE
Checking mockpkg on CRAN...
Checking mockpkg on CRAN...
No testthat or testit configuration
Checking mockpkg on CRAN...
url_page: https://bioconductor.org/packages/3.20/bioc/html/limma.html
url_page: https://bioconductor.org/packages/3.20/bioc/html/noarchive.html
Failed to fetch page: https://bioconductor.org/packages/3.20/bioc/html/noarchive.html
url_page: https://bioconductor.org/packages/3.20/bioc/html/archiveonly.html
url_page: https://bioconductor.org/packages/3.20/bioc/html/doesnotexist.html
Checking Bioconductor version: 3.17
Checking package version: 1.38.0 Date: 2005-10-14
Checking Bioconductor version: 3.18
Checking package version: 1.38.0 Date: 2006-10-04
Checking Bioconductor version: 3.19
Checking package version: 1.38.0 Date: 2007-10-08
Checking Bioconductor version: 3.17
Checking package version: 3.40.2 Date: 2005-10-14
Checking Bioconductor version: 3.18
Checking package version: 3.40.2 Date: 2006-10-04
Checking Bioconductor version: 3.19
Checking package version: 3.40.2 Date: 2007-10-08
Checking Bioconductor version: 3.17
Checking Bioconductor version: 3.18
Checking Bioconductor version: 3.19
Package URL not found on Bioconductor
Checking Bioconductor version: 3.17
Skipping Bioconductor version 3.17 due to error: Simulated error
Checking Bioconductor version: 3.18
Skipping Bioconductor version 3.18 due to error: Simulated error
Checking Bioconductor version: 3.19
Skipping Bioconductor version 3.19 due to error: Simulated error
Package URL not found on Bioconductor
No download data found or invalid format for: ggplot2
Could not fetch CRAN download data for package: ggplot2
No download data found or invalid format for: ggplot2
Could not fetch CRAN download data for package: nonexistent8package
No download data found or invalid format for: nonexistent8package
could not fetch download data for package: FakePackage123
No download data found for package: FakePackage123
No download data found for package: FakePackage123
could not fetch download data for package: FakePackage123
No download data found for package: EmptyDataPkg
No R folder found in the package source path for testpkg
Extracting exported function names for testpkg
Extracting exported function names for testpkg
Extracting exported function names for testpkg
Extracting exported function names for testpkg
Extracting exported function names for testpkg
Extracting exported function names for testpkg
Checking GitHub data for tidyverse/ggplot2...
Checking GitHub data for /ggplot2...
Owner is NA or empty. Returning empty response.
Checking GitHub data for tidyverse/non_existent_repo...
Failed to fetch repository details: Mocked API call failure
Checking GitHub data for tidyverse/ggplot2...
Failed to fetch commits: Mocked commits API failure
Checking GitHub data for tidyverse/non_existent_repo...
Failed to fetch repository details: Mocked API call failure
Repository not found: Not Found
NO INTERNAL_RSPM FOUND
NO INTERNAL_RSPM FOUND
NO INTERNAL_RSPM FOUND
Checking host package
Checking host package
Checking host package
Checking host package
Checking host package
No articles found on pubmed for ggplot2
No articles found on pubmed for ggplot2
No articles found on pubmed for ggplot2
Using custom risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using custom risk definition.
Using custom risk definition.
Using custom risk definition.
Using custom risk definition.
Using custom risk definition.
Using package's default risk definition.
Using package's default risk definition.
Using package's default risk definition.
unpacking file4dbe036d33da9.tar.gz locally
unpacked file4dbe036d33da9.tar.gz locally
installing test.package.0001 locally
test.package.0001 installed locally
installing invalidPackage locally
installing mock_package locally
mock_package installed locally
mock_package installed locally
installing non_existent_directory locally
No such file or directory: non_existent_directory
installing mock_package locally
mock_package is already installed
/usr/bin/tar: Removing leading `/' from member names
Starting lock file processing
Starting lock file processing
Finishing lock file processing
Starting lock file processing
Finishing lock file processing
running code coverage for file4dbe03d0d85ec
code coverage for file4dbe03d0d85ec unsuccessful
R coverage for file4dbe03d0d85ec failed. Read in the covr output to see what went wrong:
unpacking file4dbe04983851.tar.gz locally
unpacked file4dbe04983851.tar.gz locally
unpacking file4dbe07c5e862b.tar.gz locally
unpacked file4dbe07c5e862b.tar.gz locally
unpacking file4dbe0545c2d56.tar.gz locally
unpacked file4dbe0545c2d56.tar.gz locally
unpacking test.package.0001 locally
unpacked test.package.0001 locally
unpacking file4dbe016639427.tar.gz locally
unpacked file4dbe016639427.tar.gz locally
checking package test config
checking package test config
checking package test config
checking package test config
checking package test config
checking package test config
checking package test config
unpacking here locally
unpacked here locally
unpacking empty.tar.gz locally
not able to unpack empty.tar.gz locally
unpacking here locally
unpacked here locally
[ FAIL 1 | WARN 0 | SKIP 43 | PASS 1149 ]
══ Skipped tests (43) ══════════════════════════════════════════════════════════
• On CRAN (42): 'test-assess_pkg.R:2:3', 'test-assess_pkg.R:216:3',
'test-assess_pkg.R:372:3', 'test-assess_pkg.R:451:3',
'test-assess_pkg.R:546:3', 'test-assess_pkg.R:731:3',
'test-assess_pkg.R:808:3', 'test-badges.R:44:3',
'test-check_suggested_exp_funcs.R:3:3',
'test-check_suggested_exp_funcs.R:218:3', 'test-cran_packages.R:3:3',
'test-cran_packages.R:12:3', 'test-create_traceability_matrix.R:2:3',
'test-create_traceability_matrix.R:65:3',
'test-create_traceability_matrix.R:138:3',
'test-create_traceability_matrix.R:207:3', 'test-dependency_tree.R:462:1',
'test-dependency_tree.R:466:1', 'test-dependency_tree.R:530:1',
'test-dependency_tree.R:534:1', 'test-generate_html_report.R:461:3',
'test-get_exports.R:2:3', 'test-get_exports.R:52:3',
'test-get_exports.R:141:3', 'test-get_exports.R:223:3',
'test-get_exports.R:276:3', 'test-get_exports.R:327:3',
'test-parse_dcf_dependencies.R:2:3', 'test-parse_dcf_dependencies.R:43:3',
'test-reverse_dependencies.R:2:3', 'test-risk_assess_pkg.R:10:3',
'test-risk_assess_pkg.R:130:3', 'test-risk_assess_pkg.R:154:3',
'test-run_coverage.R:2:3', 'test-run_coverage.R:49:3',
'test-run_coverage.R:93:3', 'test-run_coverage.R:137:3',
'test-run_coverage.R:182:3', 'test-run_rcmdcheck.R:2:3',
'test-run_rcmdcheck.R:61:3', 'test-run_rcmdcheck.R:136:3',
'test-run_rcmdcheck.R:206:3'
• Skipping test because CRAN is available (1):
'test-parse_dcf_dependencies.R:126:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-documentation_metrics.R:1756:5'): assess vignettes for tar file with no vignettes works correctly ──
Error in `basename(file_path)`: a character vector argument expected
Backtrace:
▆
1. └─risk.assessr:::assess_vignettes(pkg_name, pkg_source_path) at test-documentation_metrics.R:1756:5
2. └─base::basename(file_path)
[ FAIL 1 | WARN 0 | SKIP 43 | PASS 1149 ]
Error:
! Test failures.
Execution halted
OK
r-devel-linux-x86_64-fedora-clang
*
NOTE
r-devel-linux-x86_64-fedora-gcc
for non-standard things in the check directory
Found the following files/directories: ‘test.package.0001’ ‘test.package.0005’ ‘test.package.0006’ ‘test.package.0009’ ‘test.package.0010’
OK
r-devel-macos-arm64
*
OK
r-devel-windows-x86_64
*
OK
r-oldrel-macos-arm64
*
OK
r-oldrel-macos-x86_64
*
OK
r-oldrel-windows-x86_64
*
OK
r-patched-linux-x86_64
*
OK
r-release-linux-x86_64
*
OK
r-release-macos-arm64
*
OK
r-release-macos-x86_64
*
OK
r-release-windows-x86_64
*
Check History
ERROR 12 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘testthat.R’ [38s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # setting R_TESTS to empty string because of
> # https://github.com/hadley/testthat/issues/144
> # and https://github.com/r-lib/testthat/issues/86
> # revert this when that issue in R is fixed.
> Sys.setenv("R_TESTS" = "")
>
> library(testthat)
> library(mockery)
> library(risk.assessr)
> library(withr)
> library(dplyr)
Attaching package: 'dplyr'
The following obje
NOTE
r-devel-linux-x86_64-fedora-gcc
for non-standard things in the check directory
Found the following files/directories: ‘test.package.0001’ ‘test.package.0005’ ‘test.package.0006’ ‘test.package.0009’ ‘test.package.0010’
Dependency Network
Version History
new
3.0.1
Mar 9, 2026