# will produce lints
lint(
text = '.Call("cpp_routine", PACKAGE = "mypkg")',
linters = routine_registration_linter()
)
lint(
text = '.Fortran("f_routine", PACKAGE = "mypkg")',
linters = routine_registration_linter()
)
# okay
lint(
text = ".Call(cpp_routine)",
linters = routine_registration_linter()
)
lint(
text = ".Fortran(f_routine)",
linters = routine_registration_linter()
)
Run the code above in your browser using DataLab