We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7826f60 commit fffb597Copy full SHA for fffb597
M2/Macaulay2/m2/packages.m2
@@ -198,6 +198,8 @@ loadPackage String := opts -> pkgname -> (
198
199
needsPackage = method(TypicalValue => Package, Options => options loadPackage)
200
needsPackage String := opts -> pkgname -> (
201
+ -- package name must be alphanumeric
202
+ pkgname = checkPackageName(pkgname, true);
203
if PackageDictionary#?pkgname
204
and instance(pkg := value PackageDictionary#pkgname, Package)
205
and (opts.FileName === null or
0 commit comments