PacletDirectoryUnload

PacletDirectoryUnload[dir]

makes paclets in dir no longer visible in the current session.

PacletDirectoryUnload[{dir1,dir2, }]

makes paclets in all the diri no longer visible in the current session.

Details

Examples

Basic Examples  (1)

The ExampleData/SamplePaclet directory contains a sample paclet:

Make it available in the current session:

PacletFind can find it:

Now make it invisible in the current session:

Its code can no longer be found:

Introduced in 2020
 (12.1)