Description
Determine the path of the executing script. Compatible with several popular GUIs: 'Rgui', 'RStudio', 'Positron', 'VSCode', 'Jupyter', 'Emacs', and 'Rscript' (shell). Compatible with several functions and packages: 'source()', 'sys.source()', 'debugSource()' in 'RStudio', 'compiler::loadcmp()', 'utils::Sweave()', 'box::use()', 'knitr::knit()', 'plumber::plumb()', 'shiny::runApp()', 'package:targets', and 'testthat::source_file()'.
Downloads
3K
Last 30 days
2399th
8.2K
Last 90 days
30.3K
Last year
Trend: +14.2% (30d vs prior 30d)
CRAN Check Status
7
WARNING
7
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | WARNING |
| r-devel-linux-x86_64-debian-gcc | WARNING |
| r-devel-linux-x86_64-fedora-clang | WARNING |
| r-devel-linux-x86_64-fedora-gcc | WARNING |
| r-devel-macos-arm64 | WARNING |
| r-devel-windows-x86_64 | WARNING |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | WARNING |
| 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 (7 non-OK)
WARNING
r-devel-linux-x86_64-debian-clang
compiled code
File ‘this.path/libs/this.path.so’:
Found non-API calls to R: ‘R_CurrentExpression’, ‘R_FalseValue’,
‘R_LogicalNAValue’, ‘R_MB_CUR_MAX’, ‘R_NamespaceRegistry’,
‘R_TrueValue’, ‘R_UnboundValue’, ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’
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 ‘this.path/libs/this.path.so’:
Found non-API calls to R: ‘R_CurrentExpression’, ‘R_FalseValue’,
‘R_LogicalNAValue’, ‘R_MB_CUR_MAX’, ‘R_NamespaceRegistry’,
‘R_TrueValue’, ‘R_UnboundValue’, ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’
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-fedora-clang
compiled code
File ‘this.path/libs/this.path.so’:
Found non-API calls to R: ‘R_CurrentExpression’, ‘R_FalseValue’,
‘R_LogicalNAValue’, ‘R_MB_CUR_MAX’, ‘R_NamespaceRegistry’,
‘R_TrueValue’, ‘R_UnboundValue’, ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’
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-fedora-gcc
compiled code
File ‘this.path/libs/this.path.so’:
Found non-API calls to R: ‘R_CurrentExpression’, ‘R_FalseValue’,
‘R_LogicalNAValue’, ‘R_MB_CUR_MAX’, ‘R_NamespaceRegistry’,
‘R_TrueValue’, ‘R_UnboundValue’, ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’
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-macos-arm64
compiled code
File ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ These entry points may be removed soon: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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-windows-x86_64
compiled code
File 'this.path/libs/x64/this.path.dll':
Found non-API calls to R: 'R_CurrentExpression', 'R_FalseValue',
'R_LogicalNAValue', 'R_MB_CUR_MAX', 'R_NamespaceRegistry',
'R_TrueValue', 'R_UnboundValue', 'Rf_findVar', 'Rf_findVarInFrame'
These entry points may be removed soon:
'Rf_findVar', 'Rf_findVarInFrame'
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-patched-linux-x86_64
compiled code
File ‘this.path/libs/this.path.so’:
Found non-API calls to R: ‘R_CurrentExpression’, ‘R_FalseValue’,
‘R_LogicalNAValue’, ‘R_MB_CUR_MAX’, ‘R_MissingArg’,
‘R_NamespaceRegistry’, ‘R_TrueValue’, ‘R_UnboundValue’,
‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’
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
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 ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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 ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ These entry points may be removed soon: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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 ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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 ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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 'this.path/libs/x64/this.path.dll': Found non-API calls to R: 'Rf_findVar', 'Rf_findVarInFrame' 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 ‘this.path/libs/this.path.so’: Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’ 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 (4)
suggests
Dependency Network
Version History
new
2.7.1
Mar 10, 2026