Skip to content
Prev 721 / 12125 Next

[R-pkg-devel] Namespace problem with pre-R 3.0.0 package

I have just found that R 2 filled by itself the NAMESPACE file with
# Export all names
exportPattern(".")

# Import all packages listed as Imports or Depends
import(
   cluster
)


So I filled the NAMESPACE file with that and gave it to R 3
Now functions are found!


Is it enough to do that?
Is it good practice to do that?
is .onLoad ... still required?

Regards