Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A airGRdatasets
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • HYCAR-HydroHYCAR-Hydro
  • airGRgalaxy
  • airGRdatasets
  • Issues
  • #18
Closed
Open
Issue created Nov 18, 2025 by Delaigue Olivier@olivier.delaigueOwner

Fix invalid height/width attributes in Rd figures

CRAN checks report a NOTE regarding the use of non-pixel height and width attributes in Rd figure options.

The NOTE highlights that the \figure{} directive in Rd files uses width or height attributes set in percentages or other units instead of pixels, violating the HTML5 standard.
Replace non-pixel attributes with CSS style attributes in the options: argument, as advised by CRAN.

Current code

\figure{airGRdatasets-map-catchments.png}{options: width="60\%" alt="Figure: airGRdatasets-map-catchments.png"}

Corrected code

\figure{airGRdatasets-map-catchments.png}{options: style="width: 60\%;" alt="Figure: airGRdatasets-map-catchments.png"}
Assignee
Assign to
Time tracking