When I install the package and try to execute the myPackage("Hello World") function I get the error "Can not find function "myPackage" " It will only execute when I use myPackage:::myPackage("Hello World"). Why do I need to add the :::namespace tag?
Functions in packages can be either exported or non exported.
Exported functions use :: non exported:::
Your function is non exported , if you made it an exported function it would then work like most functions you are probably most familiar with.