# How to pacletize a resource function

**URL:** <https://community.wolfram.com/t/how-to-pacletize-a-resource-function/22226>\
**Category:** Questions\
**Tags:** packages-and-paclets, tuning-and-debugging\
**Created:** [June 15, 2023, 8:09pm UTC](https://community.wolfram.com/t/how-to-pacletize-a-resource-function/22226 "2023-06-15T20:09:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![burbery1](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/burbery1/32/5675_2.png) [@burbery1](https://community.wolfram.com/u/burbery1)\
**Post date:** [June 15, 2023, 8:09pm UTC](https://community.wolfram.com/t/how-to-pacletize-a-resource-function/22226/1 "2023-06-15T20:09:06Z")

</div>

I am wondering how to pacletize the ResourceFunction [PrettyForm](https://resources.wolframcloud.com/FunctionRepository/resources/PrettyForm/) with PacletizeResourceFunction.

I have errors.

This is why I have to manually build a paclet to load some ResourceFunctions.

How can I successfully pacletize the ResourceFunction PrettyForm? I’ve already pacletized PacletizeResourceFunction.

I would also like to pacletize the ResourceFunction ResourceFunctionDefinitionViewer.

I have a local paclet FunctionsFromTheFunctionRepositoryIWantToStore that I could add the source code of this to.

I talked to someone using 13.1 and they were having the same issue so its not a problem with 13.3

I could just use PersistResourceFunction, but I also want local documentation for the ResourceFunction to load in the documentation center, which requires a paclet.

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/285a485f-2e51-4486-b5ec-998f16ec1b83)

I have some good news with a caveat. I have figured out how to store a ResourceFunction with InitializationValue and Initialize. The caveat is that I haven’t figured out how to store the documentation, which I still think is important.

I’ve started by storing all my ResourceFunctions.

I am attaching a notebook where I do this.

◔

---

<div class="post-metadata">

**Author:** ![jasonb](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/jasonb/32/20741_2.png) [@jasonb](https://community.wolfram.com/u/jasonb)\
**Post date:** [June 16, 2023, 2:11pm UTC](https://community.wolfram.com/t/how-to-pacletize-a-resource-function/22226/2 "2023-06-16T14:11:33Z")

</div>

The post title is “How to pacletize a resource function” - but you seem already to know about the function `PacletizeResourceFunction`, so it’s more of a “Why can’t I pacletize this one resource function” post.

The answer to that would in general need to come from the author of the resource function in question.

In this particular case, the function is already pacletized and you don’t need to bother with the resource function. All you have to do is load the `GeneralUtilities` paclet, which is already installed in your system:

```auto
<< GeneralUtilities`

PrettyForm[Table[x^i + j, {i, 3}, {j, i}]]

```

---

<div class="post-metadata">

**Author:** ![burbery1](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/burbery1/32/5675_2.png) [@burbery1](https://community.wolfram.com/u/burbery1)\
**Post date:** [June 16, 2023, 8:03pm UTC](https://community.wolfram.com/t/how-to-pacletize-a-resource-function/22226/3 "2023-06-16T20:03:13Z")

</div>

What about pacletizing ResourceFunctionDefinitionViewer?
