- fixed error in recursiveCA demo
- added documentation on authorization using the OAuth browser flow
- fixed graceful fail on invalid json responses from API requests (CRAN policy violation)
- updated Roxygen to 7.2.3
- added context parameter to corpusQuery
- updated GitHub workflows
- in collocationAnalysis: given withinSpan parameters are now correctly passed to queries for examples
- replaced our log.info function with log_info to avoid name clashes
RKorAPClient 0.7.5 (CRAN release)
- resolved CRAN policy violation (writing to user's home filespace)
RKorAPClient 0.7.4 (unreleased due to CRAN requests)
- resolved CRAN requests:
- documentation completed and improved for hc_add_onclick_korap_search, hc_freq_by_year_ci, KorAPConnection class
- proper cache directory used in regional demo
- fixed and improved path handling in collocation analysis and light verb construction demos
- fixed documentation for reexported magrittr::`%>%` (pipe function)
- replaced head with dplyr::slice_head when used on data frames or tibbles
RKorAPClient 0.7.3 (unreleased due to CRAN requests)
- updated Roxygen to 7.2.1 (fixes bug that caused CRAN removal of RKorAPClient)
- updated shiny demo
- added some demos for comparisons by country of publication
- fixed collocation scores for lemmatized node or collocate queries
RKorAPClient 0.7.2 (CRAN release)
- now fails gracefully with an informative message if the API server is not accessible
- fixed shiny demo
- `hc_add_onclick_korap_search()` now also works with bar, column and pie highcharts
- new parameters added to `collocationAnalysis` function:
- `maxRecurse` - apply collocation analysis recursively `maxRecurse` times
- `addExamples` - If `TRUE`, examples for instances of collocations will be added in a column `example`. This makes a difference in particular if 'node' is given as a lemma query.
- `thresholdScore` - association score function to use for computing the threshold that is applied for recursive collocation analysis calls
- `threshold`- minimum value of `thresholdScore` function call to apply collocation analysis recursively
RKorAPClient 0.7.1 (CRAN release)
- documentation migrated to roxygen2md
- Some examples in the documentation are now wrapped with:
Not run
...
End(Not run)
This was necessary to meet the time limits of automatic CRAN checks
under all circumstances and has otherwise no significance,
Version change invalidates cache
The change of the minor version from 6 to 7 automatically invalidates your
cached query results. However, since the API has not changed, you can continue
using the old cached results by copying or renaming your cache folder.
On linux, for example, this can look like this:
mv ~/.cache/R/R.cache/RKorAPClient_0.6 ~/.cache/R/R.cache/RKorAPClient_0.7
or like this:
mv ~/.Rcache/RKorAPClient_0.6 ~/.Rcache/RKorAPClient_0.7
To find the RKorAPClient cache directory for your environment, you can use:
R.cache::getCacheRootPath()