Skip to content

kgrams

Classical k-gram Language Models

v0.2.1 · Nov 13, 2024 · GPL (>= 3)

Description

Training and evaluating k-gram language models in R, supporting several probability smoothing techniques, perplexity computations, random text generation and more.

Downloads

689

Last 30 days

5391st

2.2K

Last 90 days

8K

Last year

Trend: -9.8% (30d vs prior 30d)

CRAN Check Status

8 NOTE
6 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
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 (8 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘kgrams/libs/kgrams.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘kgrams/libs/kgrams.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘RcppProgress’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘RcppProgress’
  All declared Imports should be used.
NOTE r-devel-windows-x86_64

compiled code

File 'kgrams/libs/x64/kgrams.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 18.3Mb
  sub-directories of 1Mb or more:
    libs  17.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.6Mb
  sub-directories of 1Mb or more:
    libs  17.2Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘kgrams/libs/kgrams.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘RcppProgress’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘RcppProgress’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 18.3Mb
  sub-directories of 1Mb or more:
    libs  17.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.6Mb
  sub-directories of 1Mb or more:
    libs  17.2Mb

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies Rcpp rlang RcppProgress Rdpack idiolect kgrams

Version History

new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.2.0 diff Nov 12, 2024
updated 0.2.0 ← 0.1.5 diff Oct 5, 2023
updated 0.1.5 ← 0.1.2 diff Apr 17, 2023
updated 0.1.2 ← 0.1.0 diff Nov 15, 2021
new 0.1.0 Feb 14, 2021