GuangchuangYu / GuangchuangYu/hexSticker

png error in creating in using sticker function

Open
#133 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
813
Forks
179
Avg merge
45m
Merged PRs (30d)
1

Description

I have installed hexsticker on my machine currently using R41. I have been trying to create sticker using the example sticker and i get this error:

Error in png_dev(..., res = dpi, units = "in") :
unused arguments (type = "cairo-png", antialias = "subpixel")

I started trying it while using R40. What is the error and how can it be fixed?

I have re-installed hexsticker using the dev version and also re-installed cairo, cairodevice

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the example sticker on R 4.0 or R 4.1 and inspect the png_dev error reported by the sticker function. Check the package's graphics-device setup and its cairo-related dependencies; done means the example sticker is created without the unused-arguments error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization, design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.