Skip to content

cleancall

C Resource Cleanup via Exit Handlers

v0.1.4 · Apr 8, 2026 · MIT + file LICENSE

Description

Wrapper of .Call() that runs exit handlers to clean up C resources. Helps managing C (non-R) resources while using the R API.

Downloads

CRAN

781

Last 30 days

4128th

2.6K

Last 90 days

10.9K

Last year

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

r2u CRAN

46

Last 30 days

142

Last 90 days

463

Last year

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

autoCRAN

0

Last 7 days

3

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc 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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
WARNING 9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘cleancall/libs/cleancall.so’:
  Found non-API call to R: ‘Rf_findVar’

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.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘cleancall/libs/cleancall.so’:
  Found non-API call to R: ‘Rf_findVar’
This entry point may be removed soon.

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

compiled code

File ‘cleancall/libs/cleancall.so’:
  Found non-API call to R: ‘Rf_findVar’

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-gcc

compiled code

File ‘cleancall/libs/cleancall.so’:
  Found non-API call to R: ‘Rf_findVar’

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-windows-x86_64

compiled code

File 'cleancall/libs/x64/cleancall.dll':
  Found non-API call to R: 'Rf_findVar'

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 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 16, 2026
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘cleancall/libs/cleancall.so’:
  Found non-API call to R: ‘Rf_findVar’

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.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

linking_to

Dependency Network

Dependencies Reverse dependencies cartogramR cleancall

Version History

6 tracked
updated 0.1.4 ← 0.1.3 diff Apr 8, 2026
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Oct 25, 2022
updated 0.1.2 ← 0.1.1 diff Mar 9, 2022
updated 0.1.1 ← 0.1.0 diff Jan 11, 2020
new 0.1.0 May 19, 2019