This commit is contained in:
2025-10-08 15:32:55 +02:00
parent c86fefb6f8
commit 5b19b729c4
4 changed files with 182 additions and 22 deletions

51
zhgyak/r.css Normal file
View File

@@ -0,0 +1,51 @@
packages {
margin: 1em;
padding: 0.25em;
border: 5px solid lightpink;
}
* {
display: block;
}
package {
padding-left: 0.25em;
}
package:is([needs-compilation=yes]) {
background-color: peru;
}
package:is([needs-compilation=no]) {
background-color: thistle;
}
package>name {
font-size: x-large;
padding-top: 0.5em;
}
maintainer {
display: list-item;
}
import {
padding-left: 1em;
display: list-item;
}
date::before {
content: "Published: ";
}
maintainer::before {
content: "Maintainer: ";
}
imports::before {
content: "Imports: ";
}
import::before {
list-style-type: disc;
}

11
zhgyak/r.dtd Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT packages (package+)>
<!ELEMENT package (name, date, maintainer, imports)>
<!ATTLIST package needs-compilation (yes | no) #REQUIRED>
<!ELEMENT name (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT maintainer (name, email)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT imports (import*)>
<!ELEMENT import (#PCDATA)>

91
zhgyak/r.xml Normal file
View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE packages SYSTEM "r.dtd">
<?xml-stylesheet href="r.css" type="text/css"?>
<packages>
<package needs-compilation="yes">
<name>dplyr</name>
<date>2023-11-17</date>
<maintainer>
<name>Hadley Wickham</name>
<email>hadley@posit.co</email>
</maintainer>
<imports>
<import>cli</import>
<import>generics</import>
<import>glue</import>
<import>lifecycle</import>
<import>magrittr</import>
<import>methods</import>
<import>pillar</import>
<import>R6</import>
<import>rlang</import>
<import>tibble</import>
<import>tidyselect</import>
<import>utils</import>
<import>vctrs</import>
</imports>
</package>
<package needs-compilation="yes">
<name>data.table</name>
<date>2025-07-10</date>
<maintainer>
<name>Tyson Barrett</name>
<email>t.barrett88@gmail.com</email>
</maintainer>
<imports>
<import>bit64</import>
<import>bit</import>
<import>R.utils</import>
<import>xts</import>
<import>zoo</import>
<import>yaml</import>
<import>knitr</import>
<import>markdown</import>
</imports>
</package>
<package needs-compilation="yes">
<name>e1071</name>
<date>2024-09-16</date>
<maintainer>
<name>David Meyer</name>
<email>David.Meyer@r-project.org</email>
</maintainer>
<imports>
<import>graphics</import>
<import>grDevices</import>
<import>class</import>
<import>stats</import>
<import>methods</import>
<import>utils</import>
<import>proxy</import>
</imports>
</package>
<package needs-compilation="no">
<name>RColorBrewer</name>
<date>2022-04-03</date>
<maintainer>
<name>Erich Neuwirth</name>
<email>erich.neuwirth@univie.ac.at</email>
</maintainer>
<imports>
</imports>
</package>
<package needs-compilation="no">
<name>stringr</name>
<date>2025-09-08</date>
<maintainer>
<name>Hadley Wickham</name>
<email>hadley@posit.co</email>
</maintainer>
<imports>
<import>cli</import>
<import>glue</import>
<import>lifecycle</import>
<import>magrittr</import>
<import>rlang</import>
<import>stringi</import>
<import>vctrs</import>
</imports>
</package>
</packages>