Code
colnames(pkgs)
Output
[1] "Package" "Version"
[3] "Depends" "Suggests"
[5] "License" "MD5sum"
[7] "NeedsCompilation" "Imports"
[9] "Priority" "Path"
Code
pkgs$Path
Output
[1] NA NA
[3] NA "4.2.0/Recommended"
[5] "Older" "Older"
Code
colnames(pkgs)
Output
[1] "Package" "Version"
[3] "Priority" "Depends"
[5] "Imports" "LinkingTo"
[7] "Suggests" "Enhances"
[9] "License" "License_is_FOSS"
[11] "License_restricts_use" "OS_type"
[13] "Archs" "MD5sum"
[15] "NeedsCompilation" "Path"
Code
pkgs$Path
Output
[1] NA NA
[3] NA "4.2.0/Recommended"
[5] "Older" "Older"
Code
colnames(pkgs)
Output
[1] "Package" "Version"
[3] "Priority" "Depends"
[5] "Imports" "LinkingTo"
[7] "Suggests" "Enhances"
[9] "License" "License_is_FOSS"
[11] "License_restricts_use" "OS_type"
[13] "Archs" "MD5sum"
[15] "NeedsCompilation" "Path"
Code
pkgs$Path
Output
[1] NA NA
[3] NA "4.2.0/Recommended"
[5] "Older" "Older"
Code
colnames(pkgs)
Output
[1] "Package" "Version" "Depends"
[4] "Suggests" "License" "MD5sum"
[7] "NeedsCompilation" "Imports"
Code
pkgs$Package
Output
[1] "A3" "aaSEA"
Code
pkgs$Package
Output
[1] "cli" "rlang"
Code
pkgs2$Package
Output
[1] "cli"
Code
pkgs$Package
Output
[1] "cli" "rlang"
Code
pkgs$Package
Output
[1] "cli" "rlang" "pak"
Code
pkgs$Package
Output
[1] "cli" "rlang" "pak" "pkgcache"
Code
parse_installed(lib5, priority = "base")$Package
Output
[1] "stats"
Code
parse_installed(lib5, priority = "recommended")$Package
Output
[1] "Matrix"
Code
parse_installed(lib5, priority = NA)$Package
Output
[1] "cli" "rlang"
Code
parse_installed(lib5, priority = c("base", "recommended"))$
Package
Output
[1] "Matrix" "stats"
Code
parse_installed(lib5, priority = c("base", NA))$Package
Output
[1] "cli" "rlang" "stats"
Code
lst2$Package
Output
[1] "foo" "bar" "foobar"
Code
lst2$Encoding
Output
[1] NA "UTF-8" "latin1"
Code
Encoding(lst2$Maintainer)
Output
[1] "unknown" "UTF-8" "UTF-8"
Code
lapply(lst2$Maintainer, charToRaw)
Output
[[1]]
[1] 47 61 62 6f 72
[[2]]
[1] 47 c3 a1 62 6f 72
[[3]]
[1] 47 c3 a1 62 6f 72
Code
Encoding(lst2$Bad)
Output
[1] "bytes" "UTF-8" "unknown"
Code
lapply(lst2$Bad, charToRaw)
Output
[[1]]
[1] 47 c3 a1 62 6f 72
[[2]]
[1] 47 e1 62 6f 72
[[3]]
[1] 47 61 62 6f 72
Code
tbl2$Package
Output
[1] "foo" "bar" "foobar"
Code
tbl2$Encoding
Output
[1] NA "UTF-8" "latin1"
Code
Encoding(tbl2$Maintainer)
Output
[1] "unknown" "UTF-8" "UTF-8"
Code
lapply(tbl2$Maintainer, charToRaw)
Output
[[1]]
[1] 47 61 62 6f 72
[[2]]
[1] 47 c3 a1 62 6f 72
[[3]]
[1] 47 c3 a1 62 6f 72
Code
Encoding(tbl2$Bad)
Output
[1] "bytes" "UTF-8" "unknown"
Code
lapply(tbl2$Bad, charToRaw)
Output
[[1]]
[1] 47 c3 a1 62 6f 72
[[2]]
[1] 47 e1 62 6f 72
[[3]]
[1] 47 61 62 6f 72
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.