Skip to content

Installation issue #51

@anw-sh

Description

@anw-sh

Hi, thanks for developing this package.

Just to let you know, I was unable to install via CRAN with the R version 4.6.0 on Fedora.

Tried installing using the GitHub repo, but faced the following error

pak::pak("gvegayon/rgexf")

→ Will install 1 package.The package (0 B) is cached.All system requirements are already installed.No downloads are needed, 1 pkg is cachedPackaging rgexf 0.16.3Failed to create source package rgexf 0.16.3                   
                                                                 
── Standard output ────────────────────────────────────────────────

Warning: unknown option--no-lock* checking for file/tmp/RtmpWFml5Q/X/rgexf/gvegayon-rgexf-f4ee328/DESCRIPTION... OK
* preparingrgexf:
* checking DESCRIPTION meta-information ... ERROR
Malformed Authors@R field:
  Found the following possibly unsafe calls:
    structure("0000-0002-3171-0844", .Names = "ORCID")
  Please only use calls toperson’, ‘as.person’, ‘c’, ‘list’, ‘paste’, ‘paste0.
See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.

Manually edited the "DESCRIPTION" file to change structure("0000-0002-3171-0844", .Names = "ORCID") to c("ORCID" = "0000-0002-3171-0844"). And installed from the local directory. This worked fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions