Cookies: – 1/2 cup butter, softened – 1/2 cup packed brown sugar – 1/2 cup white sugar – 2 large egg – 1 (8 ounce) can crushed pineapple, drained – 1 cup raisin – 3/4 cup shredded carrot – 2 cups all-purpose flour – 2 teaspoons ground cinnamon – 1 teaspoon baking powder – 1/2 teaspoon baking soda – 1/2 teaspoon salt – 1 cup chopped walnuts, toasted, divided (Optional) Cream Cheese Frosting: – 4 ounces cream cheese – 1/4 cup butter – 1 teaspoon vanilla – 2 1/2 to 3 cups powdered sugar