NEWS.md
checked_packages
as there is a new DOM structure.pac_deps_timemachine
which not works in some cases.app_deps
on R 3.6.pac_news
and pac_compare_news
. Functions are NEWS file related.options(pacs.crandb_ntry = 3)
and options(pacs.crandb_nsleep = 0.1)
to control crandb fetch. . Linked with https://github.com/r-hub/pkgsearch/issues/117#issuecomment-1651081139
*_validate
functions to treat the analyzed version as newest one if is bigger or equal to the newest CRAN, not only equal as before.pacs::checked_packages
function in README.match_flavors
function to get CRAN server names matched to local OS
.pac_deps_heavy
, the demand revealed during the useR
2022 Conference. The direct package dependencies and counts of dependencies for each of them. Help to identify heavy packages.tinyverse
vignette.repos
argument in 2 functions get part of base
argument description.Suggests
packages.pac_deps_dev
and pac_deps_user
could be used for local packages now.lib_validate
column inspired by Winston Chang, if the packages have a proper Built
version.tinyverse
vignette.pacs::pac_deps
.lock_validate
, the condition for validating the maximum number of packages was taken from the library size not the lock file size.pacs::pac_deps_user
and pacs::pac_deps_dev
.renv
transferred to Suggests
, as used by only 2 functions.metacran
db (new default).lock_validate
. It helps to validate a renv
lock file.curl
package.testthat
tests, mockery
.lib_validate
function.memoise
for 30 minutes, not 1 hour.pacs::biocran_repos
not includes the BioCbooks
field for Bioc
versions smaller than “3.12”.pac_deps
, NA versions for not installed packages.fields
argument of thepac_deps
function, now has the same shape as which
argument in the tools::package_dependencies
function.pac_deps
fully depends on tools::package_dependencies
.pac_deps
problems when Suggests field is used, showed only installed packages.dir_size
function.app_size
and app_deps
.renv
."Enhances"
field in all related functions.lib_validate
when a custom library path is used.lib.loc
argument from NULL
to .libPaths()
, as it will be more suited when using withr
package."Enhances"
field when checking dependencies.pac_timemachine
when from and to arguments are used and to is bigger than last Archived Date.pac_timemachine
has a well ordered rownames
now.pac_compare_namespace
, how S3methods are handled.pac_health
and related when the at argument is used and a package is installed locally.pac_deps
might show duplicated values if package was installed under a few different libPaths
, now it is fixed.lib_validate
will show packages which are required by DESCRIPTION file and not exist in installed.packages
. This might occur when e.g. install.packages
is corrupted. pac_validate
already has such functionality.roxygen2
of pac_comapre_namespace
as the note field wrongly suggested that it works only for exports.pac_validate
will return data.frame
with additional column “direct”, which will point the direct dependency from DESCRIPTION file.pac_validate
.lib_validate
.lib_validate
as it not take into account statuses for not fully performed tests, it was case for less than 1% of all packages.checked_packages
could return duplicated observations which is expected.lib_validate
to show non-CRAN packages too.pac_lifeduration
.\dontrun
to most of examples as utils::installed.packages
consumes 30 seconds on win-builder.xml2
to imports.README
file.pac_checkpage
and cran_flavors
.flavors
argument to functions checking packages statuses so only specific server might be considered.checkred
argument definition for validate
family functions.dontrun
from lib_validate
.https://cran.r-project.org/web/checks/check_summary_by_package.html
to efficiently check the CRAN check pages globally. As a result lib_validate
is hugely more efficient when checkred
argument is triggered.mclapply
README
examples, add notes that parallel computations might be unstable.pacs::lib_validate
as might be unstable and is already optimized.checked_packages()
to retrieve the html table from https://cran.r-project.org/web/checks/check_summary_by_package.html
, all CRAN checks.pac_comapre_exports
and replace with more general pac_comapre_namespace
.pac_lifeduration
, not work for old packages which do not have UTC in published Date.FAIL
status when checking CRAN
check pages.checkred
argument from lib_validate
will expecting any values from c("ERROR", "FAIL", "WARN", "NOTE")
vector.scope
for pac_checkred
will be c("ERROR", "FAIL")
.pac_compare_versions
, e.g. Default old version is the local one and the new one is the last release.pac_comapre_exports
and pac_namespace
.pac_last
to check the most recent package version.pacs::pac_compare_versions
in README
file.pacs
functions, to give somebody the freedom of using different loop functions.mclapply
for non Windows users.vapply
over the parallel::mclapply
to be sure about the result length.as.Date
so on older R versions binding is correct.gregexec
with a stringi
function, as not supported on older R versions.lib_validate
function, under default arguments and whole R CRAN library will consume 2 seconds.roxygen2
descriptions.lib.loc
and repos
arguments to more functions.mclapply
under many functions.README
file.lifeduration
and checkred
for all validation functions.README
file.pac_true_size
with used exclude_joint
argument, should not count checked package dependencies.pac_compare_versions
.pac_timemachine
result.reverse
argument for pac_deps
which working for description versions too.repos
argument for pac_deps
.base
argument in pac_true_size
, as not see any value added.checkred
variable for validation functions.pac_health
for newest release younger than x days, checking if package is red labeled on CRAN checks pages.pac_checkred
/pacs_checkred
.pac_deps
when description_v = TRUE
, minimal required versions were taken from all local DESCRIPTION files. This will fix pac_validate
/pacs_validate
too, which were to optimistic.NEWS.md
file to track changes to the package.roxygen2
to all exported functions.README
file.DESCRIPTION
file.memoise
dependency to reduce the number of web calls.pac
/pacs
prefix functions.\dontrun
calls.