tests/test_import/module_recursive/src/title_text.R

# If import::from does not change the path to the dirname(path)
# (like the chdir=TRUE in sys.source), this shouldn't work.
import::from("to_title.R", to_title)

print_title_text = function(text){
  print(to_title(text))
}
smbache/import documentation built on Jan. 27, 2024, 10:49 a.m.