local package implicitly defines a function that throws an error
investigated the reason of so many conses in mktemp