The file PACKAGENAME.m2 should be on the load path and should contain a package named PACKAGENAME.
If the variable notify is set to true, then an informational message is displayed after the file is loaded.
i1 : notify = true o1 = true |
i2 : loadPackage "FirstPackage" --database not present: /builddir/build/BUILD/Macaulay2-1.6-77124166d123caab69ac4655d15b6bfab3e74496/M2/BUILD/x86_64-redhat-linux-gnu/StagingArea/x86_64-Linux-Fedora-25/lib/Macaulay2/x86_64-Linux-Fedora-25/FirstPackage/cache/rawdocumentation-dcba-8.db --beginDocumentation: reading the rest of /builddir/build/BUILD/Macaulay2-1.6-77124166d123caab69ac4655d15b6bfab3e74496/M2/Macaulay2/packages/FirstPackage.m2 --package "FirstPackage" loaded --loaded /builddir/build/BUILD/Macaulay2-1.6-77124166d123caab69ac4655d15b6bfab3e74496/M2/Macaulay2/packages/FirstPackage.m2 o2 = FirstPackage o2 : Package |