Created
December 21, 2023 06:40
-
-
Save jmbarbone/755b4987364262cbaa89af79435ba6e2 to your computer and use it in GitHub Desktop.
copy all objects to environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vendor <- function() { | |
ns <- asNamespace("fuj") | |
writeLines( | |
unlist(sapply( | |
ls(ns), | |
function(x) { | |
format(call("assign", x, get(x, ns))) | |
} | |
)), | |
"R/fuj.R" | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment