Changelog
Source:NEWS.md
pacs 0.7.1
- Read Bioconductor release dates and R-version mappings from its official machine-readable configuration instead of scraping the release-announcements page.
bio_releases()retains its existing columns, butSoftware packagesis nowNAbecause the configuration does not provide historical counts. The R version isNAfor releases without a mapping, historical dates follow the configuration, and scheduled future releases are excluded. - Fix
pac_health()to check CRAN status for the effective latest version and returnNAwhen required check information is unavailable. - Count the app directory only once in
app_size()and consistently respect the requested local library in package, dependency, and size operations. - Recognize starred CRAN statuses consistently, report unknown statuses as unavailable, and match the first complete version number in NEWS headings.
- Preserve user-configured
pacs.crandb_*options when the package loads. - Find package versions in repository indexes even when the current R or platform cannot install them; dependency resolution still respects compatibility filters.
- Add offline regression tests with local fixtures and a fixed test clock, and update release-check workflows.
- Keep CRAN-only tests independent of Bioconductor release availability on R-devel.
- Add
pac_system_requirements()to report declared system requirements as a named list of character vectors (one per package), with configurable developer-style dependency traversal and efficient bulk repository metadata. Requested by Ignacy Mościcki, thank you for the suggestion.
pacs 0.6.0
CRAN release: 2024-09-27
- fix
checked_packagesas there is a new DOM structure. - fix
pac_deps_timemachinewhich not works in some cases. - fix a problem with
app_depson R 3.6. - add new functions:
pac_newsandpac_compare_news. Functions are NEWS file related. - update the tinyverse vignette with new badge urls.
- improve code base.
pacs 0.5.1
CRAN release: 2023-08-18
- due to instability issues with “crandb”, the lifeduration and timemachine functions have been adjusted to fetch data directly from CRAN by default.
- protect against 400 results from crandb. Please use new options if needed
options(pacs.crandb_ntry = 3)andoptions(pacs.crandb_nsleep = 0.1)to control crandb fetch. . Linked with https://github.com/r-hub/pkgsearch/issues/117#issuecomment-1651081139 - add informative messages when a web call failed.
- small improvements in the tinyverse vignette.
pacs 0.4.9
- update all
*_validatefunctions to treat the analyzed version as newest one if is bigger or equal to the newest CRAN, not only equal as before. - improved quality of vignettes.
- add usage of the
pacs::checked_packagesfunction in README.
pacs 0.4.8
CRAN release: 2022-06-28
- fix the “how-r-searches-and-finds-stuff” url.
- a new
match_flavorsfunction to get CRAN server names matched to localOS. - improving docs.
pacs 0.4.6
- a new function
pac_deps_heavy, the demand revealed during theuseR2022 Conference. The direct package dependencies and counts of dependencies for each of them. Help to identify heavy packages. - small update of
tinyversevignette. - fix the documentation,
reposargument in 2 functions get part ofbaseargument description. - rm some of
Suggestspackages.
pacs 0.4.5
CRAN release: 2022-05-10
-
pac_deps_devandpac_deps_usercould be used for local packages now. - a new optional
lib_validatecolumn inspired by Winston Chang, if the packages have a properBuiltversion. - a poster vignette.
pacs 0.4.4
CRAN release: 2022-04-04
-
tinyversevignette. - fixed edge cases for
pacs::pac_deps. - fixed
lock_validate, the condition for validating the maximum number of packages was taken from the library size not the lock file size. - two new higher-level functions
pacs::pac_deps_userandpacs::pac_deps_dev. -
renvtransferred toSuggests, as used by only 2 functions. - improved documentation.
- updated pkgdown website.
pacs 0.4.3
CRAN release: 2022-03-03
- added an additional source for getting all releases of packages, the
metacrandb (new default). - added a new validation function,
lock_validate. It helps to validate arenvlock file. - more efficient check of the Internet connection with the
curlpackage. - more elegant separation of the code.
- more
testthattests,mockery.
pacs 0.4.2
CRAN release: 2022-02-20
- fix one of the validation of the
lib_validatefunction. - cache results with
memoisefor 30 minutes, not 1 hour. - small README update.
pacs 0.4.1
-
pacs::biocran_reposnot includes theBioCbooksfield forBiocversions smaller than “3.12”. - improve
pac_deps, NA versions for not installed packages. - updated
fieldsargument of thepac_depsfunction, now has the same shape aswhichargument in thetools::package_dependenciesfunction. - more tests, 90 percent coverage.
- More clear distinction when working without Internet.
pacs 0.4.0
-
pac_depsfully depends ontools::package_dependencies. - fix
pac_depsproblems when Suggests field is used, showed only installed packages. - expose the
dir_sizefunction. - add new functions
app_sizeandapp_deps. - “getting started” vignette instead of the long README.
- get back functions reference table in the README.
- new Imports dependency,
renv.
pacs 0.3.8
- fix testthat tests.
- skip an unstable test on CRAN, a new package could be installed on the server during the check is running.
- accepting
"Enhances"field in all related functions. - improve the code for reading html tables.
- updated README file.
pacs 0.3.7
CRAN release: 2022-02-13
- fixed a bug for
lib_validatewhen a custom library path is used. - updated the default value of the
lib.locargument fromNULLto.libPaths(), as it will be more suited when usingwithrpackage. - updated README file.
- accepting
"Enhances"field when checking dependencies.
pacs 0.3.5
CRAN release: 2021-09-13
- Fixed
pac_timemachinewhen from and to arguments are used and to is bigger than last Archived Date. -
pac_timemachinehas a well orderedrownamesnow. - Fixed
pac_compare_namespace, how S3methods are handled. - Fixed
pac_healthand related when the at argument is used and a package is installed locally.
pacs 0.3.4
CRAN release: 2021-09-06
-
pac_depsmight show duplicated values if package was installed under a few differentlibPaths, now it is fixed. -
lib_validatewill show packages which are required by DESCRIPTION file and not exist ininstalled.packages. This might occur when e.g.install.packagesis corrupted.pac_validatealready has such functionality. - Update
roxygen2ofpac_comapre_namespaceas the note field wrongly suggested that it works only for exports. - remove “packages versions” section from README file.
-
pac_validatewill returndata.framewith additional column “direct”, which will point the direct dependency from DESCRIPTION file. - Improve testthat tests for
pac_validate. - Improve README file for
lib_validate.
pacs 0.3.3
CRAN release: 2021-08-17
- Partly support BioConductor.
- Default repositories mainly now consists of not only CRAN as BioConductor is considered too.
- Fix
lib_validateas it not take into account statuses for not fully performed tests, it was case for less than 1% of all packages. - Add note that
checked_packagescould return duplicated observations which is expected. - Improve merge in
lib_validateto show non-CRAN packages too. - Rewrite some tests as some R CRAN servers might shut down.
- Polishing code of
pac_lifeduration.
pacs 0.3.2
CRAN release: 2021-08-10
- New CRAN release.
- Added
\dontrunto most of examples asutils::installed.packagesconsumes 30 seconds on win-builder.
pacs 0.3.1
- Small docs improvements.
- Additional tests, maintain coverage over 80%.
- Additional input validation.
- Added
xml2to imports. - Update
READMEfile.
pacs 0.3.0
- Added
pac_checkpageandcran_flavors. - Added
flavorsargument to functions checking packages statuses so only specific server might be considered. - New
checkredargument definition forvalidatefamily functions. - Remove
dontrunfromlib_validate. - Improving docs and descriptions.
pacs 0.2.10
- Using
https://cran.r-project.org/web/checks/check_summary_by_package.htmlto efficiently check the CRAN check pages globally. As a resultlib_validateis hugely more efficient whencheckredargument is triggered. - Remove
mclapplyREADMEexamples, add notes that parallel computations might be unstable. - Remove parallel computation from
pacs::lib_validateas might be unstable and is already optimized. - Added
checked_packages()to retrieve the html table fromhttps://cran.r-project.org/web/checks/check_summary_by_package.html, all CRAN checks. - Removed
pac_comapre_exportsand replace with more generalpac_comapre_namespace.
pacs 0.2.9
- Fixed
pac_lifeduration, not work for old packages which do not have UTC in published Date. - Added optional
FAILstatus when checkingCRANcheck pages. -
checkredargument fromlib_validatewill expecting any values fromc("ERROR", "FAIL", "WARN", "NOTE")vector. - Default
scopeforpac_checkredwill bec("ERROR", "FAIL"). - Improve
pac_compare_versions, e.g. Default old version is the local one and the new one is the last release. - Added
pac_comapre_exportsandpac_namespace.
pacs 0.2.8
CRAN release: 2021-07-31
- Added
pac_lastto check the most recent package version. - Added additional usage example
pacs::pac_compare_versionsinREADMEfile. - CRAN version 0.2.8 .
pacs 0.2.7
- Removed all
pacsfunctions, to give somebody the freedom of using different loop functions. - Added a hint to use
mclapplyfor non Windows users. - Use
vapplyover theparallel::mclapplyto be sure about the result length. - Added additional
as.Dateso on older R versions binding is correct.
pacs 0.2.6
- Replace
gregexecwith astringifunction, as not supported on older R versions. - Improved performance of
lib_validatefunction, under default arguments and whole R CRAN library will consume 2 seconds. - Update
roxygen2descriptions. - Added
lib.locandreposarguments to more functions. -
mclapplyunder many functions.
pacs 0.2.5
CRAN release: 2021-07-29
- Cache results only for 1 hour, could be important when run on servers.
- Add notice about caching results for 1 hour across all connected functions.
- Add additional description for validation function, result structure.
- Change the order in
READMEfile. - Optional
lifedurationandcheckredfor all validation functions.
pacs 0.2.3
- Updated DESCRIPTION file description.
- Updated
READMEfile. - Fixed
pac_true_sizewith usedexclude_jointargument, should not count checked package dependencies. - Secured against duplicates in
pac_compare_versions. - Removed the “Description” column from a
pac_timemachineresult. - Added the
reverseargument forpac_depswhich working for description versions too. - Added the
reposargument forpac_deps. - Remove
baseargument inpac_true_size, as not see any value added. - Add
checkredvariable for validation functions. -
pac_healthfor newest release younger than x days, checking if package is red labeled on CRAN checks pages. - Default 14 days as limit for valid version, and non red check for the newest version.
- Added new functions
pac_checkred/pacs_checkred.
pacs 0.2.2
- Fixed
pac_depswhendescription_v = TRUE, minimal required versions were taken from all local DESCRIPTION files. This will fixpac_validate/pacs_validatetoo, which were to optimistic.
pacs 0.2.0
- Added a
NEWS.mdfile to track changes to the package. - Added useful connected packages to Suggests.
- Added
roxygen2to all exported functions. - Achieved 80% of coverage.
- Written a clear
READMEfile. - Removed all Imports from the
DESCRIPTIONfile. - Added
memoisedependency to reduce the number of web calls. - Created a decent basket of
pac/pacsprefix functions. - Removed all
\dontruncalls.